i have a table value something like this:
sellingprice result
51 ?
49 ?
if the sellingprice value is greater than 50 this will be the calculation: sellingprice – 50 * 0.05 + 3.5
and if the sellingprice value is less than 50 the calculation will be: sellingprice * 0.07;
I am a little bit confused on how to do it in jquery. hope to guide me through this.
Code: http://jsfiddle.net/pY9As/2/