Sorry, didn't know about text() http://docs.jquery.com/Utilities (only trim( str ) found there).
On 28 сент, 01:49, J rn Zaefferer <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb:> Will it be? Function like htmlspecialchars() in > PHP is useful when you > > need to insert some value into <textarea /> or <input /> but you also > > need non-escaped value too for using it in hashes and/or associative > > arrays and then send to server side. > > jQuery's text() method escapes html entities. Did you give that a try? > > -- J rn