Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Referencing Field Values using Vbscript

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Referencing Field Values using Vbscript
  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 >>
 Referencing Field Values using Vbscript - 6/24/2001 8:34:58 AM   
  countryfun

 

Posts: 12
Score: 0
Joined: 5/31/2001
From: USA
Status: offline
I have a asp page with a form which has various fields on it, I am
trying to run vbscript that when a button is selected a msgbox will
appear with the value of a field displayed.

Can anyone tell me what code to use to reference the field value
(before any submit button is pressed)

Thanks
 
 
Post #: 1
 
 Re: Referencing Field Values using Vbscript - 6/24/2001 8:37:07 AM   
  israelda

 

Posts: 13
Score: 0
Joined: 5/23/2001
From: Israel
Status: offline
you can use an onBlur event for the form element --

refer to the field by this notation:
document.formname.fieldname.value

(in reply to countryfun)
 
 
Post #: 2
 
 
 
  

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 >> Referencing Field Values using Vbscript 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