Hi I have this line in my script to reference any button click on my page
$("input").click(function() {
alert ("clicked") ;
but_id = (this.id);
});
It will then work on any input element but I cant seem to reference just a button . I thought this would work but is does not
$("input :button").click(function() {
can anyone offer any advice please ?