Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

click function in js

$('.btn').click(function() {
  $('[title=selected]').removeAttr("title");
  $(this).attr("title", "selected");
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #click #function #js
ADD COMMENT
Topic
Name
1+8 =