Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- if statement


LightBulb - 3:11 pm on Aug 28, 2012 (gmt 0)


I need to create an "if statement" for the below result of a javascript calculation, however the "var ansD" variable won`t let me, any help would be appreciated,

var ansD = document.getElementById("result_price");
ansD.value = '' + Math.round ((val1 * val2 * val3*100/5000/100 + 15.00 * 1.50 +(val4 * 0.68))*(valq1))

Regards,
LightBulb


Thread source:: http://www.webmasterworld.com/javascript/4489123.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com