hi there
how to trim the word using the javascript.

i mean
x=" Content"

resuld has to x="Content"

how to do this using javascript

my code is var s=new String(x);
m=s.trim();
I got the Error: Object not found;


please help me

buddu