About   Users   Help
Users & Guests Online
On Page: 1
Directory: 171
Entire Site: 5 & 1435
Page Staff: tgags123, pokemon x, tgags123, supercool22, SonicOlmstead, SonicOlmstead, Barathemos,
04-12-26 01:19 PM

Thread Information

Views
1,225
Replies
3
Rating
0
Status
CLOSED
Thread
Creator
alexanyways
01-19-11 03:46 PM
Last
Post
alexanyways
01-21-11 07:54 AM
Additional Thread Details
Views: 439
Today: 1
Users: 0 unique

Thread Actions

Thread Closed
New Thread
New Poll
Order
 

Need JavaScript Help!

 

01-19-11 03:46 PM
alexanyways is Offline
| ID: 314385 | 64 Words

alexanyways
Level: 196


POSTS: 5303/12497
POST EXP: 610509
LVL EXP: 107226114
CP: 14758.2
VIZ: 154768

Likes: 0  Dislikes: 0
I have a science fair project due soon, and I made it a project on coding a Sudoku puzzle solution solver with HTML and Javascript, I need the "Solve Button" but I have everything else.

Please help!

I'm summoning the top people I know on these subjects.

JigSaw :
septembern :
Davideo7 :

Can you help me?

Here's what I have so far:

http://gamature.goo-board.com/h8-









I have a science fair project due soon, and I made it a project on coding a Sudoku puzzle solution solver with HTML and Javascript, I need the "Solve Button" but I have everything else.

Please help!

I'm summoning the top people I know on these subjects.

JigSaw :
septembern :
Davideo7 :

Can you help me?

Here's what I have so far:

http://gamature.goo-board.com/h8-


This has been an AlexAnyways moment.




<-my post is shown to the left.

|Level: &level& |
|Rank: &rank& |
|EXP Till Next Level : &lvlexp& |
I have &viz& Viz , and I have the &postrank&th highest rank on Vizzed!

"Sweet Loretta Martin thought she was a woman, but she was another man."
- The Beatles
Created by: septembern and alexanyways
BLOCK THIS LAYOUT IF YOU HAVE INTERNET EXPLORER.
Today is: &date&
This has been alexanyways &numposts& post

Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 02-24-10
Last Post: 451 days
Last Active: 446 days

01-19-11 04:55 PM
is Offline
| ID: 314436 | 157 Words


JigSaw
Level: 167


POSTS: 5491/7936
POST EXP: 584185
LVL EXP: 60447506
CP: 8069.8
VIZ: -46029578

Likes: 0  Dislikes: 0
Probably need to make a new function for solving the puzzle. And since I suck at puzzles in general I don't really know how it works Basically you would just need a new function then pull the results from the form and check wether the numbers are correct or not if that is how your wanting it to work:

var cell_C1_4 = document.getElementById('C1_4');
var cell_C1_4 = C1_4.value;

if(cell_C1_4 != 3){
cell_C1_4 = "X";
}

X would be the wrong number. There probably is a formula you can use sorta like the one that is used in your code however as I said I am not great at math or javascript in general. I also am not sure what exactly your wanting to do with this, are you wanting a solve button which just puts all the missing #'s up without checking what the user entered? Or do you want it to check what the user types?
Probably need to make a new function for solving the puzzle. And since I suck at puzzles in general I don't really know how it works Basically you would just need a new function then pull the results from the form and check wether the numbers are correct or not if that is how your wanting it to work:

var cell_C1_4 = document.getElementById('C1_4');
var cell_C1_4 = C1_4.value;

if(cell_C1_4 != 3){
cell_C1_4 = "X";
}

X would be the wrong number. There probably is a formula you can use sorta like the one that is used in your code however as I said I am not great at math or javascript in general. I also am not sure what exactly your wanting to do with this, are you wanting a solve button which just puts all the missing #'s up without checking what the user entered? Or do you want it to check what the user types?

--------------------
Vizzed Elite
PHP Developer, Security Consultant

Affected by 'Laziness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 2451 days
Last Active: 2445 days

01-19-11 07:31 PM
alexanyways is Offline
| ID: 314532 | 12 Words

alexanyways
Level: 196


POSTS: 5304/12497
POST EXP: 610509
LVL EXP: 107226114
CP: 14758.2
VIZ: 154768

Likes: 0  Dislikes: 0
JigSaw : Thanks for that, I'm checking what the user has typed.









JigSaw : Thanks for that, I'm checking what the user has typed.


This has been an AlexAnyways moment.




<-my post is shown to the left.

|Level: &level& |
|Rank: &rank& |
|EXP Till Next Level : &lvlexp& |
I have &viz& Viz , and I have the &postrank&th highest rank on Vizzed!

"Sweet Loretta Martin thought she was a woman, but she was another man."
- The Beatles
Created by: septembern and alexanyways
BLOCK THIS LAYOUT IF YOU HAVE INTERNET EXPLORER.
Today is: &date&
This has been alexanyways &numposts& post

Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 02-24-10
Last Post: 451 days
Last Active: 446 days

01-21-11 07:54 AM
alexanyways is Offline
| ID: 315088 | 6 Words

alexanyways
Level: 196


POSTS: 5342/12497
POST EXP: 610509
LVL EXP: 107226114
CP: 14758.2
VIZ: 154768

Likes: 0  Dislikes: 0
Anyways, does anybody else have suggestions?









Anyways, does anybody else have suggestions?


This has been an AlexAnyways moment.



"Unintelligent? fudge, we invented the telephone. Lightbulb, Yahtzee, hockey, and we're the best players, Gretzky and Crosby!"
- "Oh Canada" - Classified




<-my post is shown to the left.

Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 02-24-10
Last Post: 451 days
Last Active: 446 days

Page Comments

Dove4JS - 12-12-20 05:26 AM
no image
joldboy70 - 07-10-20 11:13 AM
test
joldboy70 - 07-10-20 11:12 AM
test
savage23157 - 04-08-20 01:33 PM
Hi im new vizzed
zokuza - 11-18-19 09:08 AM
final got playstaion games unlock yes baby digimon world here i com
yoshirulez! - 02-10-17 08:45 PM
MAY MAYS
yoshirulez! - 02-10-17 08:45 PM
maymays
yoshirulez! - 02-07-17 11:13 PM
OwO what's this?
yoshirulez! - 02-07-17 11:13 PM
OwO what's this?
yoshirulez! - 02-07-17 11:13 PM
OwO what's this?

Adblocker detected!

Vizzed.com is very expensive to keep alive! The Ads pay for the servers.

Vizzed has 3 TB worth of games and 1 TB worth of music.  This site is free to use but the ads barely pay for the monthly server fees.  If too many more people use ad block, the site cannot survive.

We prioritize the community over the site profits.  This is why we avoid using annoying (but high paying) ads like most other sites which include popups, obnoxious sounds and animations, malware, and other forms of intrusiveness.  We'll do our part to never resort to these types of ads, please do your part by helping support this site by adding Vizzed.com to your ad blocking whitelist.

×