Prevent form from submitting.
Support onchange event.