459,377 Members | 1,672 Online
Need help? Post your question and get tips & solutions from a community of 459,377 IT Pros & Developers. It's quick & easy.

 before my number

 P: 47 i've somehow managed to get a piece of javascript, kicking and screaming to work...... i just need to get a  before my "total amount" basicly, i've a list of 10 items, the user puts the quantity of each in and the quantity and the price is displayed. this works, but i gotta get that little euro sign in...... it's prob very easy, but my eyes are close to bleeding.... so a little help would be apriciated....... thanks....... lines 39 and 54 here's the code Expand|Select|Wrap|Line Numbers       function checkreset() {      if (confirm('Are you sure you wish to clear the form?'))    {       return true    }    return false }     function addnumbers() {   // This function reads the values from the input boxes // parseInt converts the input boxes into an integer   var x,y,result; a = parseInt(document.form1.abox.value); b = parseInt(document.form1.bbox.value); c = parseInt(document.form1.cbox.value); d = parseInt(document.form1.dbox.value); e = parseInt(document.form1.ebox.value); f = parseInt(document.form1.fbox.value); g = parseInt(document.form1.gbox.value); h = parseInt(document.form1.hbox.value); i = parseInt(document.form1.ibox.value); j = parseInt(document.form1.jbox.value);   // Then we do the math   result = a + b + c + d + e + f + g + h + i + j;   // And write the result straight to the screen document.form1.qbox.value = result; document.form1.totalbox.value = result*10;   // As the function has already done the output, we dont need a return value }     and the html Expand|Select|Wrap|Line Numbers
The Unbelievabley Cool T-Shirt Shop

Never Forget: €10               Quantity            Gift Wrap?                                      Please choose your region for shipping                          Ireland         free                     Other EU           €5         #           #           Rest of World           €10
Quantity
Total
Shopping Cart
Viva La Evolución: €10              Quantity          Gift Wrap?               Finders Keepers: €10              Quantity          Gift Wrap?                                 Dont Stop Believin: €10               Quantity          Gift Wrap?               Greece: €10              Quantity         Gift Wrap?               South Korea's Got Seoul: €10              Quantity          Gift Wrap?               Camping Is Intents: €10              Quantity         Gift Wrap?               You Complete Me: €10              Quantity          Gift Wrap?               Leave Lindsay A-Lohan: €10                Quantity          Gift Wrap?               Blimpin' Ain't Easy: €10                Quantity          Gift Wrap?           Oct 26 '07 #1