Tôi đang sử dụng jQuery Mobile. Trên thực tế tôi muốn mở một liên kết externl trong một popup. Tôi đã thử điều này.Mở trang bên ngoài trong cửa sổ bật lên trong jQuery Mobile
<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>
Mở cửa sổ bật lên nội dung là văn bản http://www.google.com/. Nhưng tôi thực sự muốn tải url. tức là trang chỉ mục của google.