Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-11-2002, 09:56 PM   PM User | #1
Tanker
New Coder

 
Join Date: Jun 2002
Location: Northern California
Posts: 50
Thanks: 2
Thanked 0 Times in 0 Posts
Tanker is an unknown quantity at this point
Javascript/VBScript and href's

Not sure if this is the correct place to put this, but here goes...

In Javascript I can do something along the lines of:
<a href="javascript: functionname('value');">My Link</a>

I try the same thing within a VBSCRIPT page and it says object expected. Is there something along these lines in VBSCRIPT or is my formatting wrong?

Thanks in Advance.....
Tanker is offline   Reply With Quote
Old 07-12-2002, 02:43 AM   PM User | #2
glenngv
Supreme Master coder!


 
glenngv's Avatar
 
Join Date: Jun 2002
Location: Los Angeles, CA Original Location: Philippines
Posts: 10,241
Thanks: 0
Thanked 112 Times in 111 Posts
glenngv will become famous soon enough
i haven't used vbscript protocol in a link, but can a vbscript function be also called on this?

<a href="vbscript:if functionName('value')=true then msgbox('test')">My Link</a>

...just a thought.


Quote:
Originally posted by Dave Clark
IE will accept the following:

<a href="vbscript:subroutineName('value')">My Link</a>

as long as you have the subroutine (not a function) defined.
__________________
Glenn
_____________________________________________
Play Tower of Hanoi Android app (Ad-FREE!)
Play Tower of Hanoi Android app (FREE!)
Go to Tower of Hanoi Leaderboard
Play Tower of Hanoi Facebook app
glenngv is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:08 AM.


Advertisement
Log in to turn off these ads.