Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Programming > Client-Side Scripting
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-29-2008, 09:57 PM
Junior Member
 
Join Date: Dec 2008
Posts: 2
Default A little Javascript ineptitude?

I should know better but I cant seen to get this straight? I am trying to use user input in a form to identify and use a variable to fill the user input field with that variable. what it is is a PayPal hosted button_ID and i have 30 of them and I want the user to input a number between 1-30 and have that number relate to the corresponding variable. Here's the code that I have but I cant seem to get it to work in the form:
////
<a href="javascript://"onClick=>document.form.ChronoContact_part2.hosted _button_id.value=var"
function(){

var(1)=1984130
var(2)=1984144
var(3)=1984159
var(4)=1984177
var(5)=1984188
var(6)=1984205
var(7)=1984213
var(8)=1984222
var(9)=2102934
var(10)=2102955
var(11)=2102976
var(12)=2102993

}
<>

<input type="text" name="loopQty" id="loopQty" value="<?php echo $cr2['qty'];?>" class="textbox" size="3">
<a href="javascript://" onClick="top.location='cart.php?xCmd=add&xProd=<?p hp echo $cr2['productID'];?>&qty<?php echo $cr2['productID'];?>='+document.getElementById('loopQty').value">{l abels.cart.addToCartLink}</a>
////

Any help would be appreciated
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-11-2009, 06:00 AM
Junior Member
 
Join Date: Mar 2009
Posts: 20
Default

Support service of business or commerce: -Section 65(104c) “support services of business or commerce” means services provided in relation to business or commerce and includes evaluation of prospective customers, telemarketing, processing of purchase orders and fulfilment services, information and tracking of delivery schedules, managing distribution and logistics, customer relationship management services, accounting and processing of transactions, operational assistance for marketing, formulation of customer service and pricing policies, infrastructural support services and other transaction processing.
Explanation. —For the purposes of this clause, the expression “infrastructural support services” includes providing office along with office utilities, lounge, and reception with competent personnel to handle messages, secretarial services, Internet and telecom facilities, pantry and security.
For more information visit:
GOLFSITE
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 09:26 PM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.