ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 6th, 2003, 07:45 PM
skinnyoldcoot skinnyoldcoot is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 2 skinnyoldcoot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old October 8th, 2003, 01:06 AM
mohecan mohecan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 212 mohecan User rank is Private First Class (20 - 50 Reputation Level)mohecan User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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?

Reply With Quote
  #3  
Old October 8th, 2003, 11:12 AM
skinnyoldcoot skinnyoldcoot is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 2 skinnyoldcoot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by mohecan
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


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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Newbie: Loop with form element


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway