Self.location.href() not working in Moz


<form><input type = "button" value = "Read Replies" name = "Submit" class = "tt" onclick = "self.location.href('url')"></form>

Anyone have any idea why that doesn’t work in moz?

What are you trying to do? If you’re trying to redirect, your code should look more like this:


onclick="self.location.href = url;"