The web application that I am updating uses jQuery and jQuery UI. I replaced most instances of window.open and <a target=_blank> the jQuery UI dialog box. For example, the terms and conditions used to open in a new window; I now use the jQuery UI dialog with AJAX. For consistency, I plan to use it where possible.
One such place is the page where I will have external links to the video. Something like:
<a href="http://website.com/videos/1.html" target="_blank"><img src="http://website.com/videos/1.png"></a> <a href="http://website.com/videos/2.html" target="_blank"><img src="http://website.com/videos/2.png"></a>
In some situations, I can use target=iframe1 . Now, instead of opening the contents in an iframe or popup, I want to display the contents inside the popup dialog. How can I use the jQuery UI dialog to achieve this? Will there be any errors?
jquery html jquery-ui jquery-ui-dialog iframe
Salman A Apr. 14 2018-11-11T00: 00Z
source share