Hello everybody, The solution I am looking for will most likely be in JavaScript. Here's what I need to do: I have an input field where users can input the quantity of an item they would like to purchase. I would then like this little script to instantly take the inputed value, multiply it by the item price and then spit out the total price right next to the original input field. All this needs to happen real-time as they are inputting the quantity. Any ideas of how I should go about this would be much appreciated.Thanks!
To follow the principal of progressive enhancement, you could remove the inline "onkeyup" attribute and append in at window.onload. Also, you could insert the "price" input field via JavaScript (actually the "quantity" field in your code. Looks like you get 'em backward).