answersLogoWhite

0

Use one of the event listeners to use Javascript for form fields. For e.g.

For text:

This little code would run javascript script when any change is done to the text of username. Here is another example

For Submit:

This little code would ensure data is validated on client side (provided a client script exists).

For more information on event listeners check the Related Links section

User Avatar

Wiki User

12y ago

What else can I help you with?