Change Button Function After html site loaded on Iframe

Viewed 19

I have an application in which I loaded .html file inisde a iframe on button click. enter image description here

On In Progress Click app inside .html file loaded in iframe.

enter image description here

Above picture is of Iframe. On click Close a pop up appear.

enter image description here

Now I want to override the functionality of this CLOSE MODULE Button. For example: On click this button i want to reload the parent application.

I have tired below code but its not working.

$('.notify-popup-prompt-button').on('click',function(){
console.log(123);
location.reload("https");
})
1 Answers

I resolved the issue, by changing in JavaScript using by .htlm file.

Related