Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


dynamic buttons

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1098
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> dynamic buttons
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 dynamic buttons - 6/28/2004 7:54:03 PM   
  mustafa

 

Posts: 6
Score: 0
Joined: 6/28/2004
From: Turkey
Status: offline
hi. everyone. I'm working on a prject and I need to create buttons in a loop and I want each button to have a different name.

while month(thisdate)=imonth

document.write " <TD ALIGN=CENTER><FONT SIZE=3><INPUT TYPE=Button Name=nextday VALUE=" & nextday &" >" & "</TD>"
nextday=nextday+1
wend

I mean I want each button to have the name of nxt day. when I wrote code below it didn't work and I am sure that next day becoming 15 for one step of loop

<SCRIPT FOR="15" EVENT="onClick" LANGUAGE="VBScript">
MsgBox "South Park"
</SCRIPT>

ksk
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> dynamic buttons Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts