jQuery script that calculates some simple math live
$30-250 USD
Paid on delivery
I have a form that is using the jQuery plugin called jQuery Price Format. It can be found here:
[login to view URL]
I need some jQuery code that takes whatever value someone types into the price field and calculates some math and displays text to the right of the field box.
The math is: Form Value - $2.00 x .7
The text that it displays live must not also be in a form box. I want to place it in a div. The value also has to be rounded to the nearest 10th like 10.33 because I'm dealing with money.
I've attached a example picture of what I want. You don't have to do the design or anything. Just put together a demo for me and make sure the result is in a div called <div id="commission">
Just make sure you use the jQuery Price Format plugin and account for how it adds US$ to the front of the amount.
Project ID: #546905