点击按钮,当前页面上方会出现一个分区/窗口,用于上传文件。
我如何使用 jQuery 做到这一点?
提前致谢。
最佳答案
<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();
});
关于javascript - jQuery 帮助 : click the button and pop up a division/window,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6937155/