I was making a javascript slideshow from RSSfeed. I was dynimcally gernerating array for javascript. but javascript array does not work if the value is given like this: var something = array (a b c, something, something, something) but if we give him like var something = array (abc, something, something,something) it works then.. as i'm generating it's value with php and i need a function to remove the tabs or new line or whatever you call it.. thanks.