Passing extra parameters to Prototype observer handlers
Tuesday, March 11th, 2008Another tip from my Prototype travels…
‘Observers’ let you create a listener for a user event, for example on a form submission you may want to run some client side validation before actually submitting the form.
Of course you can add ‘onsubmit()’ in your <form> tag, but isn’t it much nicer to keep your markup clean of […]