pradeep_tp ha scritto:
$(document).ready(function() {
   $("a").click(function() {
     alert("Hello world!");
   });
 });
This code simply add the function to the click event on all "<a>" elements on your page, but in your code there aren't these type of elements.

In markup add simply:

<a>TEST</a>

And click on it to se your "Hello World" alert.

Bye

--
gianiaz.net - Giovanni Battista Lenoci P.le Bertacchi 66 23100 Sondrio (SO) - Italy

Reply via email to