Jump to content

TehBlizzy

Members
  • Posts

    93
  • Joined

  • Last visited

Posts posted by TehBlizzy

  1. Ello. My current site right now is called Death's Maze. It is where you type in your direction into a text box and click a button, then using Javascript, redirects you to a page depending on the direction you type.My problem is, what HTML coding should I use to make the button submit the text in the text box into a Javascript file.Then, what codes should I use to make it that, depending on the text, redirects you to another page.Such as, if I typed "Up" in the text box, then clicked the button, the Javascript code would read that and direct me to the second part, but if I typed anything else such as "Left", it would take me to another page as a dead end.Hope that isn't too complicated. I use PS Pad, IE, Firefox, and an external Javascript page(JS/Javascript.js)If possible, I don't want the button to bring up a prompt box. Ty for your help =D

×
×
  • Create New...