Page 1 of 1

Re: Simply Sudoku

Posted: Mon Feb 01, 2010 9:25 pm
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.

Re: Simply Sudoku

Posted: Tue Feb 02, 2010 9:42 pm
by deleted-71553
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>