|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Newbie: Loop with form element
I have a form that has dynamically assigned element names. How would I do the following:
(original code) sub OnControlLoad set Control = Document.getElementById("MsRdpClient") if Not Control is Nothing then if Control.readyState = 4 then Document.all.connectbutton.disabled = FALSE end if end if end sub I want to get this line Document.all.connectbutton.disabled = FALSE to loop and look like Document.all.connectbutton1.disabled = FALSE Document.all.connectbutton2.disabled = FALSE Document.all.connectbutton3.disabled = FALSE etc....up to a predefined value Thanks Adrian |
|
#2
|
|||
|
|||
|
I'm a little intrigued, what is it exactly you're trying to do with the rdp client?
This is strongly reminisant of virus like activity ![]()
__________________
How can I soar like an eagle when I'm flying with turkey's? |
|
#3
|
|||
|
|||
|
Quote:
Anything to do with Microsoft software is virus like activity... But apart from that, I was trying to get the control to appear multiple times on a single page. I realised later that this is not going to work anyway, due to a different problem. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Newbie: Loop with form element |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|