Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Nasty Javascript



******    message to minivend-users from Bob Curtis <bob@circlesquared.com>     ******

Hello one and all, I wondered if you can give me bit of a hand:

I am trying to specify a regional setting for a bunch of products. (There are certain
regions in the country where you can't by a product from the Database)
I have set up a front page on the site I am working on where you can specify which region
you are in so products that are not in the region chosen do not show. All has been fine and
I have got the correct cookies and links to appear, but the problem is this: The customer
needs a Java script menu that when pulled down, will list all the countys in the UK. Ok so
far...I can do this bit.
The problem I now face is that I need to make the J-script and call a particular minivend
tag to load the correct cookie/pass the correct URL. Every time I try to do this with an
HTML form, I have no problems, but then, when I try top switch the info to put it into the
J-script, it falls over and won't stand for it.

<INPUT type=submit name=region VALUE="anw"><b></b><br>
<INPUT type=submit name=region VALUE="ane"><b></b><br>
<INPUT type=submit name=region VALUE="asw"><b></b><br>
<INPUT type=submit name=region VALUE="ase"><b></b><br><br><br><br>
<INPUT TYPE=submit VALUE=Enter>
 this works in an HTML form format with a [process-target] tag before in the page, but I
can't get this to work in a J-script table.

I doubt if anyone can understand what it is that I am going on about, but I have taken this
project over from someone else, and am falling over trying to make it work. I don't really
want to write the menu script in pearl, 'cos the customer wants this J-script thingie......

sorry to be a pain, but if anyone has any clues, can they let me know...
cheers,
Rob

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: