![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
im pretty ne to java script - so please be gentle ![]() basically what i want to do is construct an action in a function using a variable sent to that function ok - what i want to do is function ($number) { form1.button[add in the $number here].disabled=true; } say $number was 34, so in effect i would end up with function ($number) { form1.button34.disabled=true; } i have tried all sorts but cnt seem to get the result i want - any advice would be great |

#3
| |||
| |||
|
im pretty ne to java script - so please be gentle ![]() basically what i want to do is construct an action in a function using a variable sent to that function ok - what i want to do is function ($number) { form1.button[add in the $number here].disabled=true; } say $number was 34, so in effect i would end up with function ($number) { form1.button34.disabled=true; } |
![]() |
| Thread Tools | |
| Display Modes | |
| |