Get an ID from the trigger
-
Hi there,
I am wondering it is possible via jquery/javscript I can get the ID of the element that triggered the popup?
for example I have
<div class="popmake-xxx" id="my_trigger">Click Here</div>
And when it is clicked I would like to be able to read that value with jquery so I can use it elsewhere in the javascript.
I have able to get the ID from an iframe…
$iframe.prop('id')
but I want the trigger’s ID.
Thoughts?
Cheers!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Get an ID from the trigger’ is closed to new replies.