<script type="text/javascript" language="javascript"> $(document).ready(function () { $('#mypopup').dialog({ autoOpen: false, modal: true, title: "my pop up window", width: 500, resizable: false }); }); function popup() { $('#mypopup').dialog('open'); $('.ui-widget-overlay').click(function () { $('#mypopup').dialog('close'); }); }; </script> <a href="#" onclick="javascript:popup('');return false;">Click to play</a> <div id="mypopup"> <input id="abc" /> </div>
Thursday, October 25, 2012
Jquery Popup
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment