loading external url in jquery ui modal

loading external url in jquery ui modal

I have links to comments as <a href="comment.php?postid=1>read comments</a>, I have <a href="comment.php?postid=1>read comments</a>...
How can I load these external URLs into my modal dialogs?
I have hundreds of posts on my website and users can keep adding them.
Users can add comments on each post on the website.


  1.         $( "#dialog_facebook" ).dialog({
                autoOpen: false,
                width: 400,
                height: 200,
                modal: true
            });
            $("#open_f").click(function(){$("#dialog_facebook").dialog("open");});