.trigger.click button(div) in parent window without ad-block issues, HOW?
I want a button in my Iframe to click a button in its parent window.
I got this to work with a few lines of code, but the adblocker blocked that code in some browsers, now I am looking for an alternative.
I was thinking about something like this:
the button in the iframe:
Symbol.bindElementAction(compId,symbolName,"${
_Rectangle }","click",function(sym,e){
window.parent.
functionid ();
});
the script in the parent page:
<script>
$(document).ready(function
functionid (){
$(
'#u181' ).trigger('click');
});
</script>
This script does >not< work, does anyone know why? or does anyone have an alternative?
Thanks in advance.