Hi, I am new to RAD 7.5. I wrote a java script function like following:


function setUrl()
{
window.location.replace("");
}


The RAD will complain the "The function replace(String) is undefined for the type location". How come RAD complain it? Is there anybody know how to solve it?

Thanks.