Hello, I have a script in which I have to pass 2 values to window.location.href to open a new window which accepts these two values from the URL.
onclick="showrestdetail($urlpagename)"
The function is as follows:
function showrestdetail(urlpage)
{
window.location.href=urlpage;
}
But I want two values to be passed in this function and catch thse two values when new window opens.
Is there any way to do this?
Thanks in advance.