I am using
$(".abc",window.opener.document).trigger('click')
To trigger click event on parent window element.
But it is not working.An element exist in the parent window with class name abc
.
How i can trigger onclick event ?
Thanks in advance.....
try:
window.opener.$('.abc').trigger('click')
Use the context-parameter
$(".abc",parent.document)
But if you really use a popup, you need to access opener instead of parent
$(".abc",opener.document)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With