0

I got a php code like below

print "<td width=61><a href='popupboxM.php?SId=$vv' onClick='openpopup(this.href);return false;'>".$row['Info']."</a></td>";

How can I open this in jquery ui dialog window ? currently I use javascript.

Plese help in for the same

hakre
  • 193,403
  • 52
  • 435
  • 836
Gopipuli
  • 393
  • 1
  • 12
  • 37
  • i have been checking this in google for last two days and I messed up with codes, since I managed to download jquery ui and able to start a simple dialog popup but couldnt get a breakthrough in what I am looking !please give a hint/start ? – Gopipuli Aug 25 '11 at 08:56
  • What's the url of the page you want to open in a popup? – J0HN Aug 25 '11 at 08:58

1 Answers1

0

use jquery $.get() or $.post() to get the link and then insert it into a div, and then open that div as jquery ui dialog

max4ever
  • 11,909
  • 13
  • 77
  • 115
  • I am new to jquery pls provide any links ? – Gopipuli Aug 25 '11 at 10:23
  • see if these help http://stackoverflow.com/questions/809035/ajax-jquery-ui-dialog-window-loaded-within-ajax-style-jquery-ui-tabs , http://jqueryui.com/demos/dialog/ , http://api.jquery.com/jQuery.ajax/ – max4ever Aug 25 '11 at 10:32
  • this is something close to what I am looking for [link](http://blog.nemikor.com/2009/04/18/loading-a-page-into-a-dialog/) – Gopipuli Aug 26 '11 at 04:36