VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Java script in costumer.asp?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

8 Posts

Posted - June 17 2004 :  12:09:07  Show Profile  Reply with Quote

another question. Is it possible to put a Java-script in the form costumer.asp?
I would like to place a calendar at the bottom of that page.
I tried it by creating an asp.file and I put it in the first lines
<!-- #include file="calendar.asp" -->

I does not work. I only get the text of this file.

Who can help me?

Senior Member

United Kingdom
1898 Posts

Posted - June 17 2004 :  14:53:47  Show Profile  Visit devshb's Homepage  Reply with Quote
There's 3 possible causes of that problem as far as I can see:

1) The parent file that's being loaded in the browser address line is named as an htm file rather than an asp.

2) The include command is inside the vbscript instead of inside the html code.

3) IIS isn't setup correctly (if you're running it from your pc rather than a normal hosted server)

We've added an explanation of how to include files on our forum for exactly this kind of thing, so have a look at:


which explains the basic pitfalls and how to get things to work.

(and yes; you should be able to use any asp/javascript/html within that form; it's just a case of making sure it's put into the correct bit with the vbscript <% and %> tags set as appropriate)

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons

Edited by - devshb on June 17 2004 14:56:56
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000