I have found this: jQuery - Increase the value of a counter when a button is clicked and this JQuery Mouse Click counter
but does not work by me, i have tried this:
$("#btnplus").click(function(){
count =count +1;
$("#counterbox").html(count);
});
I have here a button and input box, button has id "btnplus" and input field "counterbox", i want if i clic on button to increase value of input, always +1, i don't get any error, what is here wrong?
html
, for input isval
to use, **thanks to all** – user2496077 Jun 19 '13 at 09:10