Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery alert on href click

$('a[href="#section"]').click(function(){
  alert('Sign new href executed.'); 
}); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #alert #href #click
ADD COMMENT
Topic
Name
5+9 =