So I have a problem I can't really figure out. I dynamically load divs through JSON into my webpage. However, I can't figure out how to use the jQuery onclick function with each div. Thanks.
Asked
Active
Viewed 28 times
0
-
2Delegated events, there is thousand off topic about that on SO. – Karl-André Gagnon Jul 09 '13 at 03:37
-
How would I go about doing that? – Username Jul 09 '13 at 03:37
-
All the information you need is here : http://api.jquery.com/on/ – Karl-André Gagnon Jul 09 '13 at 03:39
-
1@PSL probably jquery dynamic element events question should be banned now... myself might have answered 50+ I think – Arun P Johny Jul 09 '13 at 03:42