html - How to Input a Discount Price in Javascript? -



html - How to Input a Discount Price in Javascript? -

the discount field not register (discount supposed subtract grand total)(check discount sample)

check the jsfiddle click here

i want deed picture. (with discount beingness manually inputed) http://i.dailymail.co.uk/i/pix/2013/02/07/article-2275089-17694138000005dc-460_634x497.jpg

javascript

function recordtofilename() { var input = document.getelementbyid('discountvalue'), discount12 = input.value;

change button

<input type="button" onclick="recordtofilename();" value="submit discount" />

and function

function recordtofilename() { var input = document.getelementbyid('discount'), discount12 = input.value; alert (discount12); }

javascript html syntax e-commerce

Comments

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -