Click a button and it will appear a division/window above that current page to upload file.
How can 开发者_开发技巧i do this with jQuery ?
Thanks in advance.
<html>
<input type="submit" id="clickme"> </input>
<div id="divtobeshown" style="display:none">
<input type="file" />
</div>
<html>
Js:
$("#clickme").live("click", function()
{
$("#divtobeshown").show();
});
http://jsfiddle.net/anilkamath87/cfFkd/
精彩评论