uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
can't use uShopJSI.class

Knowledge Base Lobby : uShop Support Conference : Applets are not being displayed
Jul-20-18 08:15 PM EST
Original Message
can't use uShopJSI.class
Author wchin on 05-21-2003 at 23:27 (EST)
Dear Sirs,
please check my page at I can't get the "add to shopping cart" button to work.

see this line:

onclick="addTIS();return false;"

Where should the "href" point to?


Warren Chin

Table Of Contents
  RE: can't use uShopJSI.class Bill Weiner, 2003-05-23 07:24:46 (1)
            thanks wchin, 2003-05-23 21:42:44 (2)

Messages In This Discussion
         1. RE: can't use uShopJSI.class
        Author Bill Weiner on 05-23-2003 at 07:24 (EST)
There are a couple problems on that page:

1) Everywhere on the page where you have:

document.TIS.Choose Knob & Finish.options

... that is causing a JavaScript "missing ) after argument" problem. Instead of using "Choose Knob & Finish" in those places, you need to be using the name given to your "select".... which from looking at your HTML forms, is current set to "select". (By the way, you may want to give those select fields a more meaningful name such as "know_and_finish"). Anyway, if you leave the select name of that field set to "select", then you should be using:

... in all those places instead of:

document.TIS.Choose Knob & Finish.options

2) Also, I noticed you have multiple JavaScript add buttons on that page.... and for each add button, you have another function called "addTIS()" and a form named "TIS". Unless you make the addTIS() function generic to accept a product ID parameter, you need to give each function and form a unique name.

Refer to the "JavaScript Input Example 3" in the uShop applet reference to see an example of how one button/form should be setup:
                 2. thanks
                Author wchin on 05-23-2003 at 21:42 (EST)
thank you! I will try that!


© 2003 Microburst Technologies, Inc.