Instantly change value based on text field
Posted on 2010-11-24
As a user types a price in this text field:
<input name="price" type="text" id="price" style="width:90px;"/>
I want it to instantly change the value $_POST['price'] in the code below:
$price_adjusted = number_format(round($_POST['price'], 2), 2) / ($mark_up_adjusted_revised / 100);
How can I do this?