Click to See Complete Forum and Search --> : order in search parameters & String.replace in JS


kusi
11-12-2003, 02:04 PM
2 new problems I have:

1-sometimes I add new parameters to refresh the frames from within other.
like parent.frameName.location+= refresh=refresh;
and it seems that it is NOT ADDED ALWAYS TO THE END!!


2and related with this utility: sometimes i must replace them to ""
which IE doesnot accept.
var x = parent.navigationFrame.location;
if (x.indexOf("&refresh=refresh")!=-1) {
x.refresh("&refresh=refresh", "");
}
parent.navigationFrame.location(x);
what do you suggest me as the methodology?