I submit some values from a form to another page… that page returns with a url like:
localhost:8084/abc.jsp?ok=true
I applied a function on ‘onLoad’ of my page body named checkscroll()… and this function in javascript should scrolls my window..
CODE: for javascript
function checkscroll()
{
var rr = new String();
rr = request.getParametr("ok");
if(rr=="true")
window.scrollBy(0, 60);
}
what is wrong in this code ?
Use the
location.search:Or