¡@

Home 

2014/10/16 ¤W¤È 12:01:49

jquery Programming Glossary: accompprice

Why is this simple function not working

http://stackoverflow.com/questions/17076429/why-is-this-simple-function-not-working

javascript function updateTotal var optionsPrice 0 var accompPrice 0 function checkOptions if document.getElementById 'pack11049'.. if document.getElementById 'howmany' .value '1' accompPrice 129 if document.getElementById 'howmany' .value '2' accompPrice.. 129 if document.getElementById 'howmany' .value '2' accompPrice 258 if document.getElementById 'howmany' .value '3' accompPrice..

Why is this simple function not working

http://stackoverflow.com/questions/17076429/why-is-this-simple-function-not-working

name radio 73 value 1 onkeyup updateTotal script language javascript function updateTotal var optionsPrice 0 var accompPrice 0 function checkOptions if document.getElementById 'pack11049' .checked optionsPrice 1049 if document.getElementById 'pack21199'.. optionsPrice 2549 end of checking for Package function checkAccomp if document.getElementById 'howmany' .value '1' accompPrice 129 if document.getElementById 'howmany' .value '2' accompPrice 258 if document.getElementById 'howmany' .value '3' accompPrice.. if document.getElementById 'howmany' .value '1' accompPrice 129 if document.getElementById 'howmany' .value '2' accompPrice 258 if document.getElementById 'howmany' .value '3' accompPrice 1057 if document.getElementById 'howmany' .value '4' accompPrice..