ID:174354
Aug 24 2003, 9:52 am
|
|
How would one disable HTML editing of names and text?
|
In response to JackGuy
|
|
What if they want a smiley in their name? >:(
A solution using html_encode() would probably be better. |
In response to Jon88
|
|
if(findText(newname, "<") && findText(newname, ">"))
If you notice, it only takes effect if both "<" and ">" are in teh name V_V |
In response to JackGuy
|
|
_< |
if(findText(newname, "<") && findText(newname, ">"))
alert("Sorry, no HTML in names")
return //stop the name making