Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Location
    stroud, gloucestershire
    Posts
    205
    Plugin Contributions
    1

    Default product info page problem

    Hi,

    im running into a small problem with regards to the dropdown boxes for product attributes.

    The name for the whole select statement comes out something like this <select name="id[1]" ......

    I want to use this value in some javascript but because of the brackets i cant get it to work, javascript would be

    document.mytest.id[1].selectedIndex;

    how easy would it be to either get the javascript to work, or to chnge how the select statement is named?

    Many thanks

    Paul
    Even novices can be professionals!

    Funky Fancy Dress

  2. #2
    Join Date
    Dec 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: product info page problem

    Place a backslash before the character that causes trouble in Javascript.

    E.g. \[

    I hope this helps you.

 

 

Similar Threads

  1. product info page problem
    By MB1 in forum General Questions
    Replies: 4
    Last Post: 7 Aug 2010, 01:51 AM
  2. Product info page problem
    By michael101 in forum General Questions
    Replies: 5
    Last Post: 24 Aug 2009, 01:10 PM
  3. Product info page problem
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Sep 2008, 06:16 PM
  4. IE Product info page problem
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2008, 01:00 AM
  5. Product info display page problem
    By dealbyethan.com in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 15 May 2008, 11:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR