Simply Sudoku

Ask questions about projects relating to: computer science or pure mathematics (such as probability, statistics, geometry, etc...).

Moderators: AmyCowen, kgudger, bfinio, MadelineB, Moderators

RCInsider
Posts: 9
Joined: Wed Nov 18, 2009 5:25 pm
Occupation: Student: 8th Grade
Project Question: Can You Check & Then Solve A Sudoku Problem Using JavaScript?
Project Due Date: January 26, 2010
Project Status: I am conducting my research

Re: Simply Sudoku

Post by RCInsider »

So then what do I do? I tried entering the begining and ending brackets around the code commanding to start JavaScript, but that only makes the buttons disappear. What to do! I am presenting tomorrow morning so if there is any way to at least get those buttons working, that would be great.
cscolar
Former Expert
Posts: 28
Joined: Fri Oct 07, 2005 10:04 pm

Re: Simply Sudoku

Post by cscolar »

Hi,
I am not as adept at JavaScript as rgoelmsft, but this should show how to insert the JavaScript functions into your web page html. Hope it is not too late. If it is late, I hope you had a nice presentation, and learned something new in working on this project.

<SCRIPT LANGUAGE="JavaScript">
// Your global variable declaration and initialization goes here

function ClearPuzzle(form)
{
// Your ClearPuzzle code goes here
}
function ClearTextArea(form){
// Your ClearTextArea code goes here
}
function RestoreCells()
{
// Your RestoreCells code goes here
}
function ReadCells()
{
// Your ReadCells code goes here
}
}
// end of JavaScript functions
</SCRIPT>
Caroline
Locked

Return to “Grades 6-8: Math and Computer Science”