Answer by Kelly Cook for jQuery .click() event for multiple div's
you could get the title using $(this).attr("title").val()
View ArticleAnswer by karim79 for jQuery .click() event for multiple div's
Additionally, this is the perfect opportunity to make use of event delegation. With this technique, you do not have to worry about re-binding click handlers after programmatic insertion of new DOM...
View ArticleAnswer by jfriend00 for jQuery .click() event for multiple div's
You can't have the same ID on multiple tags. You will have to fix that. You can use the same class, but there can only be one object in the page with a given ID value.this.id will fetch the id value of...
View ArticlejQuery .click() event for multiple div's
I have some search results that I'm outputting that are of this form:<div id="result" title="nCgQDjiotG0"><img src="http://i.ytimg.com/vi/nCgQDjiotG0/default.jpg"></div>There is one...
View Article
More Pages to Explore .....