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

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -