dojo.connect with dynamic content
Posted
by peirix
on Stack Overflow
See other posts from Stack Overflow
or by peirix
Published on 2010-05-07T13:58:23Z
Indexed on
2010/05/11
2:44 UTC
Read the original article
Hit count: 236
dojo
Is there something similar to jQuery's live()
-method in dojo? I have some content that's being loaded with ajax, and need that content to get the same event connections.
dojo.query(".allTheseElements").connect("onclick", function() { /***/ }
And then have the dynamically loaded content fire on this too.
© Stack Overflow or respective owner