Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 7th, 2004, 07:57 AM
Authorized User
 
Join Date: Dec 2004
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default linking in vbscript

hi groups!
   i have an doubt in vbscript ..
is that possible to link a html file inside a vbscript..
for ex
 <SCRIPT LANGUAGE= "VBSCRIPT">
   sub onsubmit_OnClick
       ....
        .....
       .....
     can we have a link to some other file here
      <a href ="newpage.html">go</a>
                  .....>like the code line above can we use it
   </SCRIPT>

if their exists some other way to code plz tell me..
bye for now..


MuthuKumar.AL
__________________
MuthuKumar.AL
 
Old December 8th, 2004, 09:36 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

What are you trying to do - write the link to the page, navigate to the link target or something else?

Cheers,

Chris

 
Old December 8th, 2004, 09:39 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

hi,

  What's your aim to do so? If u write a bit clear we can try to solve.


--------
Rajani

 
Old December 9th, 2004, 01:12 AM
Authorized User
 
Join Date: Dec 2004
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

guys! ok i make it clear for you.
that is i have a procrdure in vbscript. within the procedure i have if then construct. if the if loop is true i have to move to the link specified else another link specified....
so is that possible to have a link inside vbscript procedure so that i can move to links as the condition satisfies ...

    plz get me answers ...
bye for now

MuthuKumar.AL
 
Old December 9th, 2004, 03:56 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sureshbabu Send a message via Yahoo to sureshbabu
Default

Yes sure..
 You can do in that way..

<SCRIPT LANGUAGE= "VBSCRIPT">
   sub onsubmit_OnClick
      If condition Is true Then
          Response.Redirect "Link1.asp"
      Else
          Response.Redirect "Link2.asp"
      End If

   End Sub

Thanks
Suresh
</SCRIPT>


 
Old December 10th, 2004, 03:08 AM
Authorized User
 
Join Date: Dec 2004
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thnx Suresh i will try with it and
 if any trobles i will be back here
so thnx for the code and i think it will help for me..
bye for now



MuthuKumar.AL





Similar Threads
Thread Thread Starter Forum Replies Last Post
linking anukagni Access 1 March 28th, 2006 08:21 AM
I get some linking errors batli25 .NET Framework 1.x 0 December 5th, 2005 12:30 PM
linking to external vbscript file fs22 Javascript 2 April 20th, 2004 03:38 AM
RE: Linking sherr8 SQL Server 2000 2 July 30th, 2003 02:29 PM
Linking sherr8 Access 2 July 30th, 2003 02:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.