Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MatrixClaw

    Forms in JavaScript Game

    So then am I replacing the document.forms with document.getElementsByName("usedLetters") (the parts in bold)? I tried that, it didn't seem to work, so I'm guessing that's not right...? I totally understood my code when using a text input, but after I decided to put buttons instead, my confusion...
  2. MatrixClaw

    Forms in JavaScript Game

    So I'd be changing the script inside the body to: <script> for (i=0; i<28; i++) { document.write("<input type=text name=usedLetters size=1>") } </script> and <script> for (i=0; i<word.length; i++) { document.write("<input type=text size=5...
  3. MatrixClaw

    Forms in JavaScript Game

    Here's a link to the original code and the new code that I'm trying to get to work: http://www.public.asu.edu/~ddinsmor/hangman.html http://www.public.asu.edu/~ddinsmor/hangman_2.html
  4. MatrixClaw

    Forms in JavaScript Game

    Here's what I have so far: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Derek Dinsmore's...
  5. MatrixClaw

    Forms in JavaScript Game

    Interesting, I hadn't even thought of that! It seems to work now, though it still doesn't register anything in the text boxes I've made. Instead of saying "Undefined" now, it just duplicates whatever button I press by replacing another one with that letter. I'm sure it's something easy I'm...
  6. MatrixClaw

    Forms in JavaScript Game

    Didn't notice only premium members can download the file, this should work instead ;)http://www.mediafire.com/?aot3wemzoza
  7. MatrixClaw

    Forms in JavaScript Game

    Hello, this is my first post here, but I'm having some trouble figuring out what I messed up on my code :( I'm making a Javascript game of Hangman for one of my classes and I originally had the input as a text box where you physically type in the letter and if it was wrong, it would draw the...

Part and Inventory Search

Back
Top