Hii Hii kapstan!!
One thing i noticed that!!
we can do the same thing with test() method of Regular expression.
Now I think test() is faster than search(),Please anyone have idea about it ??then let me know.
[search method first call -->test method]
or [test method first--->call search() method ??? ,Still in not sure]
var searchString = /Form1\./g;
var p_item_fixed = arguments[0].toString();
if (searchString.test(p_item_fixed)) {
p_item_fixed=p_item_fixed.replace(searchString, "");
}
alert(p_item_fixed);
plz visit for more info
http://www.siteexperts.com/tips/func...ts23/page2.asp
Cheers :)
vinod