I'm using jQuery Mobile. Actually i want open an externl link in a popup. I tried this.
<a href="#" id="dialoglink" data-rel="dialog">Open Dialog</a>
<script>
$(document).delegate('#dialoglink', 'click', function() {
$(this).simpledialog({
'mode' : 'blank',
'prompt': false,
'forceInput': false,
'useModal':true,
'fullHTML' :
'http://www.google.com/'
})
});
</script>
It is opening a popup the content is the text http://www.google.com/. But i actually want to load the url. i.e google index page.