Hi,
I have 3 textboxes A B C
The user can only enter single digit numbers in the textboxes, and if
they hover over a blank textbox it would give them the options through
a tooltip of what numbers are left over.
For instance if A =1, tooltip over B & C would = "2,3,4,5,6,7,8, 9"
and B = 4, tooltip over C= "2,3,5,6,7, 8,9"
I worked out a solution in vb, but that needs page postbacks, and I
would like to move away from that and make it smoother
So, how do I:
Write an array in javascript and calculate what is misssing if the
mouse hovers over a blank textbox and transfer whats missing to a
tooltip?
I suppose it would share the same logic of a sodoku puzzle thinking
about it, but sadly its not as exciting as that.
I have 3 textboxes A B C
The user can only enter single digit numbers in the textboxes, and if
they hover over a blank textbox it would give them the options through
a tooltip of what numbers are left over.
For instance if A =1, tooltip over B & C would = "2,3,4,5,6,7,8, 9"
and B = 4, tooltip over C= "2,3,5,6,7, 8,9"
I worked out a solution in vb, but that needs page postbacks, and I
would like to move away from that and make it smoother
So, how do I:
Write an array in javascript and calculate what is misssing if the
mouse hovers over a blank textbox and transfer whats missing to a
tooltip?
I suppose it would share the same logic of a sodoku puzzle thinking
about it, but sadly its not as exciting as that.
Comment