Jump to content

[SOLVED] Text input onchange


Halisco

Recommended Posts

do you really want to submit the form after the user makes a change? --->use the onchange event

 

<input type="text" onchange='document.forms[0].submit();' />

or

 

do you want to submit the form when they leave the textbox? ---> use the onblur event

 

<input type="text" onblur='document.forms[0].submit();' />

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.