Đang Thực Hiện

Locate and fix error in javascript function

I have a javascript function set to solve a fifteen-puzzle (also known as an n-puzzle).

The page lets the drag and drop the puzzle pieces into a scrambled position on a grid, and then click the solve button to have it solved step by step. The function works if the pieces are not placed into the grid, but once placed in the grid the function fails to update the view and ends in a fatal error.

The page utilizes jQuery with jQuery UI using $.draggable and $.droppable for the scrambled grid and puzzle piece movement, and a modified version of the puzzle solver off Jaap's Puzzle Page (permission ahs been granted to use modified code by the author) at [url removed, login to view]

Kỹ năng: HTML, Javascript, jQuery / Prototype

Xem thêm: fix html error, solver, locate, jquery grid, jquery fix, function, fix error, fatal, error, javascript click puzzle, html code drag, drag html, jquery error fix, drag click html, jquery drag drop grid, html drag, code function, html code error, draggable click, javascript drag drop position, update jquery, code jquery drag drop, javascript drag, javascript puzzle, puzzle javascript

Về Bên Thuê:
( 8 nhận xét ) Stavanger, Norway

Mã Dự Án: #1077393