validate and replace double quotes??

admin

Administrator
Staff member
i want to be able to have a JS function that i can call that would check if there was a quote or double quote in a textarea on my form.

if there is one, i would like to replace it with either \" or \'.

this would prevent my servlet from cutting of the endof the info (i think).

if anyone can help out, i'd greatly appreaciate it!!
Thanks!
 
Back
Top