Click to See Complete Forum and Search --> : onclick change window location


thejoker101
07-30-2003, 01:50 PM
I've never been that good with javascript, but..

I have a button, that when clicked needs to change the page location. I can do this in IE - onclick="parent.location='messagesSend.jsp'" but this doesn't work in mozilla. So how do I get it to work in both?

Thanks for the help, I'm sure this is simple, but well, I dunno.

pyro
07-30-2003, 01:53 PM
onclick="top.location.href='messagesSend.jsp';"