Hello, I have to type a little Java script and I do not know how and I felt it would be for a real JS programmer. / P>
Simple problem:
There are some boxes with my name. TrackSelectPos_1 - TrackSelectPOS_7 If one of those changes, I want to check that the value of the box is -1 If it disables all the boxes with a high number and sets the price for 1 if the value is not -1, then enable the box (box one high) on the right.
So the basic things that I want to do: 1. How to get the value 2. How can I thank you for your help.
At the very basic level, assuming one of your textbox IDs, TextPOS_1
< Pre> // value 1 var valueTB1 = document.getElementById ('TextPOS_1'); Warning (valueTB1 .value); / 2. To disable valueTB1.disabled = true; You will need to wrap up in the javascript function ... so that you can handle any textbox number.
I know that it helps and you need more explanation ...
Comments
Post a Comment