Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    window.location is the answer Commented Sep 8, 2013 at 3:58
  • 1
    Can you show us the html code for these buttons ? Commented Sep 8, 2013 at 3:58
  • 5
    You haven't found any examples of adding click handlers to HTML buttons? I find that difficult to believe. Commented Sep 8, 2013 at 3:58
  • Google JavaScript on click window location Commented Sep 8, 2013 at 4:00
  • 1
    <!DOCTYPE html> <html> <head> <meta charset="ISO-8859-1"> <title>Online Student Portal</title> </head> <body> <form action=""> <h2>Select Your Choice..</h2> <input type="button" value="Add Students"> <input type="button" value="Add Courses"> <input type="button" value="Student Payments"> </form> </body> </html> Commented Sep 8, 2013 at 4:02