Hello all,

I know very few of Javascript. I'm trying to identify which JavaScript functions are called in this site. The script updates the board when the labels "easy","medium", "hard", etc are selected and when the buttons "solve" or "candidates" are pressed.

I've tried with F12 (Developer tools) but I can only identify the portion within the html when any label or button is pressed. I cannot see which javascript function is called from the JS file and which parameters are passed to the function. The JavaScript file seems to have several functions inside.

I made this question in SO without too much help, even they downvoted.

Thanks in advance for any help.

"Read the source, Luke"

It's over at https://github.com/robatron/sudoku.js

commented: Thanks but that doesn´t answer my question. The thing is how to see which part of the javascript code is called using dev tools when the btn is clicke +0

You'll want to read the code, and if you are trying to trace what it does, maybe alter the code to add debug statements to each function and method. I'd add https://www.w3schools.com/jsref/met_console_log.asp so I can see in the console those debug outputs.

commented: Thank you +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.