i learned something new today, if you are familiar with regular expression in php, you can also search for text in a string with javascript.

its easy, in javascript you can use the search() functions.

lets say i have a string like this:

var MyString = 'wallpaperama';

and i want to check if the word wallpaper exists in the MyString variable. i can use this code for example:

alert('I found it');

you would get a alert saying: I found it

cool!! give me your comments