You are not logged in.
Any idea how to determine if an HTML Area is empty and hasn't been typed in?
I know about getHTML and getInnerHTML, but I think there are some other characters inheritly in the HTML Area upon creation... possibly "<<"? Those characters seem to get entered into my mySQL database when I submit the getHTML of an HTMLArea on a form that I don't type in or even bring focus to.
Any ideas or functions I'm missing here? I'm really at a loss on this one, ANY help would be of GREAT assistance. Thanks!
-Tim
Offline
If I remember correctly, it's a <br/>, and it gets put in by the browser, and we won't strip it out in Xinha, because we don't know that you didn't *really* want one.
You can strip it out server-side easily enough, using appropriate string functions of your chosen server-side language.
James Sleeman
Offline