Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Sub Button_OnClick

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Sub Button_OnClick
  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 >>
 Sub Button_OnClick - 12/31/2001 2:50:44 PM   
  RaiderDog

 

Posts: 1
Score: 0
Joined: 12/31/2001
From:
Status: offline
This sub isn't working, I think I have named everything correctly. I'm trying to display a message box if the value in "status" = "Complete". Status is a select box on a form. Any thoughts?

<script Language="VBScript">
Sub Button_Onclick
If (document.Form.status.value = "Complete") then
Msgbox "Mirabile visu"
End Sub
</script>
 
 
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 >> Sub Button_OnClick 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