var iframe = $('iframe').contentWindow.document.getElementById('idclick');
iframe.click()
this clicks an element id but throws undefined so I cannot process anything after iframe.click()
Why does it show undefined but yet clicks? Is it because I'm mixing jquery with javascript? If so, how would I write this either fully on jquery or js.
A solution with both jquery and js is + point, I'd like to see the difference.
ISSUE:
var iframe is undefined.