4

Possible Duplicate:
button javasript works on IE but not firefox window.navigate()

I want pass Question ID to Answer Page Along with URL but it's not working on Chrome and Firefox I'm using ASP.Net,


Navigate Method is not working , what are other methods for this ?


function display(QuestionID)

{

 window.navigate("Answer.aspx?TutID=" + QuestionID);

}

please Help

Community
  • 1
  • 1
Deepak S V
  • 57
  • 1
  • 1
  • 9
  • http://stackoverflow.com/questions/1112093/button-javasript-works-on-ie-but-not-firefox-window-navigate – Karthik Nov 17 '12 at 09:49

1 Answers1

10

Try this:

var url = "Answer.aspx?TutID=" + QuestionID;

location.href = url;
Amin Sayed
  • 1,240
  • 2
  • 13
  • 26