| |
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
|
|