php - Draggable jquery popup window -


i have draggable jquery popup window,now shows message inside body.but want load html page inside popup how can this

here screen shot of popup

enter image description here

here code popup.php

<!doctype html> <html> <head>     <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>     <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>     <style type="text/css">         #draggable { width: 200px; height: 250px; background: silver; }     </style>     <script>         $(document).ready(function() {             $("#draggable").draggable();         });     </script> </head> <body style="font-size:75%;">      <div id="draggable">drag me</div>  </body> </html> 

please me ,thanks

try using .load() , make .draggable() too:

$(document).ready(function() {     $("#draggable").load('yourtargetpage.php').draggable(); }); 

Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -