<head> <title></title>
<script type="text/javascript" src="Scripts/jquery-1.7.1.js"></script> <script type="text/javascript" src="Scripts/jquery-ui-1.8.20.js"></script> <script type="text/javascript"> function Load() { $('#someDiv').load("WebForm1.aspx").dialog('open').dialog( { autoOpen: true, position: 'center', draggable: false, width: 300, height: 40, resizable: false, modal: true, }); } </script>
</head> <body önload="Load();"> <div id="someDiv"></div> <button id="btn1">Click me</button> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)