javascript - How to close jQuery dialog when button inside iFrame is clicked? -


this question has answer here:

i have jquery dialog iframe added dialog when opened. how close dialog wen button(button present in html of iframe) clicked.

i tried contents inside iframe using contents() getting [object object]

many people have mentioned cant access content of cross domain , here no other domain involved @ all.

window.parent.$("#dialogdiv").dialog('close'); 

that's solves problem..


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -