Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBScript/ASP

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> VBScript/ASP
  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 >>
 VBScript/ASP - 4/28/2005 6:44:52 PM   
  vidyavati

 

Posts: 7
Score: 0
Joined: 4/13/2005
From:
Status: offline
1)Messge box not working in VBScript
2)How to get selected values from <select> tag in event func
3)How to create a dynamic dropdown list.
 
 
Post #: 1
 
 Re: VBScript/ASP - 5/1/2005 2:29:49 AM   
  VBS

 

Posts: 110
Score: 0
Joined: 3/2/2005
From: Lebanon
Status: offline
Dear vidyavati,
These are very simple:
1. Messge box not working in VBScript:
in VBS asd ASP, msgboxes arn't use like this msgbox("text") but they r used using alert("text") for example:


      

2. How to get selected values from <select> tag in event func:
when u creat a select control u do it like this:


      

so u notice the word value="c1" in the option tag, this is responsible to send the "c1" to the browser using the submit button to retrieve it in other page using this code:


      

3.How to create a dynamic dropdown list:
it is very simple, just use this code:


      
using this code u will be able to create a drop down box that will have 10 records and each record value and name r diffrent from the other.
And u can use this example using database


Hope this helps

Best Regards

Firas S Assaad

(in reply to vidyavati)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> VBScript/ASP 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