javascript - jQuery popup doesn't close -


i've tried closing jquery iframe popup can't seem able to. i've seen lot of solutions similar problems, think gravely wrong code.

i have code

    <a id="button" href="#popupvideo" data-rel="popup" data-position-to="window" class="ui-btn ui-corner-all ui-shadow ui-btn-inline">Ε</a> <div data-role="popup" id="popupvideo" data-overlay-theme="b" data-theme="a" data-tolerance="15,15" class="ui-content">     <iframe id="iframeid" src="http://localhost:8080/newfile.php","msgwindow" width="1000" height="600" seamless=""></iframe> </div> 

and want, provides window iframe file have. however, while closing clicking outside in grayed out area simple, using button close window somehow proving hard do.

i want pretend button event similar clicking outside window. want button reloads iframe (i can open new window inside iframe, previous 1 stays).

things window.close iframe's javascript don't seem work.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -