+ Start a Discussion

How do create a 'Click Counter' in VisualForce?

So, I've got a VisualForce page with one number field showing.  I would like to place a button or link following the field.  The user can then either type the number 5 for instance in the field.  Or the user could click the link/button after the field 5 times.  Each click would one-up the value present in the field, but not save the data.  I don't want to save the field data until the save button on the page is clicked.  Ideally, I'd like to acheive this without resorting to APEX coding if possible.  And ideally, I'd like it to render nicely in HTML5 for mobile use.  Any ideas?