Touch Premium Member
Thanks the breakpoint works great! If nothing I am learning a lot via this exercise. Not sure if it is the only way but I simply added "debugger;" , minus the quotes, just before the error to set the breakpoint?
Anyway, I took a look around the DOM and I can move next and up without issue but for some reason I the down always returns "null". Here is the part of the DOM I am looking at
And here is some of the debugging I have done, I set currentVal to the position highlighted in the above image then tried moving up and down. You can see the up works, but the down returns "null" for the two searches I performed even though I can see them in the above image.....?