How to apply a rule on a class .button that have a href of “#” only
in fact, any button with a real href will do his button thing, the other one, onother thing
just to clear thing
$(".jbutton").click( function () {
i like that function to be executed on anything BUT #…
exclude #
is it more clear ?
Live Demo
http://jsfiddle.net/Jaybles/nEdHH/
HTML
JS