Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Has textarea changed?

Status
Not open for further replies.

bigoldbulldog

Programmer
Feb 26, 2002
286
US
Hi -

Does anyone know a succint way to tell if a textarea has changed so that I can avoid submitting unchanged text to the server?

Thank you.

Cheers,
ND [smile]

bigoldbulldog@hotmail.com
 
try this:

<textarea onChange=&quot;change='true'&quot;></textarea>

then just do up an if statment checking if it's been changed like so:

if (change == 'true'){
//change
}else{
//no change
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top