开发者

jQuery help : click the button and pop up a division/window

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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜