Username:
Password:
Remember me:
Register

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)


Search forums via Google


0 Users appreciate this thread.

Input tag not working?
Started by SPCOxion
(2013-03-07 21:13:36)
SPCOxion (2013-03-07 21:13:36)
[detect=pc]Here's the code I'm using.[/detect]
mmkay, I made a rock paper scissors game in JavaScript, and when I try to run it, it doesn't work. If you're on a PC, there's a link to the code that I'm using at the top.

What am I doing wrong?
HTML Code
<input type="button" onclick="playGame()" value="Click to play!" />

(The game is in one function, called, as you may have guessed, playGame().)

This post has been edited one or more times, the last time was:
2013-03-07 22:56:27

djl12328 (2013-03-07 22:27:19)
What are you even using that UI for anyway? Just use something like notepad++.
www.dark-isle.weebly.com
SPCOxion (2013-03-07 22:52:48)
I am using Notepad++, I just used that to give an example.

This post has been edited one or more times, the last time was:
2013-03-07 22:53:24

SPCOxion (2013-03-08 21:11:02)
Awesome, thanks.

Now I just have to debug my rock, paper, scissors, lizard, spock game.
 

This topic is closed, so you can not post a comment.

This topic's ID: 42807

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)




Total registered users: 8321
New registered users today: 7
Newest registered user: ElegantVulpes

©  Copyright 2026 3DSPlaza. All Rights Reserved