[CODE=javascript]function repAll(t) {
var finds = new Array(......); //array of to-be-replaced strings
var repls = new Array(......); //array of replace-with strings
t = t.replace(finds[i], repls[i], 'gi');
}[/CODE]
Working fine with FF, but not with IE, Opera and Safari...
How can I solve this?
var finds = new Array(......); //array of to-be-replaced strings
var repls = new Array(......); //array of replace-with strings
t = t.replace(finds[i], repls[i], 'gi');
}[/CODE]
Working fine with FF, but not with IE, Opera and Safari...
How can I solve this?
Comment