Alright, I think it's hard to write my trouble here,
so, please visit : https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_element_iframe
And then just replace those code there with these :
These code runs well when I clicked on iframe
once, but after I clicked another link page eg : Learn HTML
these code didn't work. it looks if iframe / browser unable to caught event (onclick
I used w3schools demo to made clear my post, because my actual website currently still under development, but the case that I got same with this demo.
: How to fix so that event still able to catch by contentWidth
, though user click another link page?
please help me.