Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a query_string
Message
De
24/08/2003 17:03:22
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Javascript
Titre:
Adding a query_string
Divers
Thread ID:
00822952
Message ID:
00822952
Vues:
43
Problem: Shopping Cart, multi ordering using JS w/o going to the server until ready to print all accumulated orders. Example:
1) widget in black selected, Order button clicked.
2) widget in red selected, Order button clicked again.
3) widget in blue selected, Order button clicked.
Accumulated Orders look like this:"?wid=black&wid=red&wid=blue&" this string is assigned to JS var 'fpairs'. 
I want to pass these pairings to a cgi module on the server maybe using a link:
     <a href='porders.cgi'+javascript:fpairs'>Click</a> 
or maybe using a form:
     <form method=get action='porders.cgi' onclick=javascript:addp()             name='ad'>...</form>
        then addp will do this win.doc.forms[ad].action='porders.cgi'+fpairs;.
Of course none of this works but you get the idea.

I've built a query_string but I cant get it passed to the server!!

Any ideas?

Ron
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform