Photo Gallery
Member List
Search
Calendars
FAQ
Ticket List
Log Out
Forums
Register
Login
My Profile
Inbox
Address Book
My Subscription
My Forums
VB Script
Logged in as: Guest
arrSession:exec spGetSession 2,2,2963
Active Users: There are
0
members and
0
guests.
Users viewing this topic: none
Printable Version
All Forums
>>
[Scripting]
>>
WSH & Client Side VBScript
>> VB Script
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 >>
VB Script -
5/11/2005 3:30:28 PM
ishah
Posts: 6
Score: 0
Joined: 5/11/2005
From:
Status:
offline
A server-side script that cannot handle any ampersands (&) in the form data. Write a function that converts all ampersands in a form field to "and' when the field loses focus (onblur).
Appreciate everyone help on the subject. Tks
Post #: 1
Re: VB Script -
5/11/2005 3:32:51 PM
token
Posts: 1917
Score: 0
Joined: 1/14/2005
From:
Status:
offline
Could you post your code ?
(in reply to
ishah
)
Post #: 2
Re: VB Script -
5/11/2005 9:16:13 PM
Zifter
Posts: 318
Score: 0
Joined: 1/5/2005
From: Belgium
Status:
offline
Sounds like a class assignment...
Anyhow, here is an example:
<html> <head> <script language=vbscript> Function TextBox1_OnBlur() document.all("TextBox1").value = Replace(document.all("TextBox1").value,"&","and") End Function </script> </head> <body> <input type="Text" name="TextBox1"> </body> </html>
HTH
(in reply to
ishah
)
Post #: 3
Re: VB Script -
5/12/2005 5:03:18 AM
ishah
Posts: 6
Score: 0
Joined: 5/11/2005
From:
Status:
offline
million thanks.
GOD bless uuuu
(in reply to
ishah
)
Post #: 4
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
>> VB Script
Page:
[1]
Jump to:
Select a Forum
All Forums
----------------------
[Welcome]
- - Forum Rules
- - Test Posting Messages
- - New Member Area/Introduction
[Scripting]
- - WSH & Client Side VBScript
- - WSH & Client Side VBScript Tutorial
- - Post a VBScript
- - Windows PowerShell
- - ASP
- - ASP.NET
- - Windows Script Components
[General Forum]
- - Other Programming/Scripting Languages
- - Suggestions & Feedback
- - Off-Topic Lounge
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
Forum Software ©
ASPPlayground.NET
Advanced Edition
2.5.5 ANSI