Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87055

Re: Find and replace html text

$
0
0

As it is an event, User Interface provides you : e.target.

eTarget.jpg

For instance: $(e.target). hide(); or sym.$(e.target).hide(). The current element (button) will be hidden.

console.log( e.type, e.target ) returns the event and the target.

console.log( e.target.id ) returns the id of the element targeted.


Viewing all articles
Browse latest Browse all 87055

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>