Javascript syntax error (slashes) *invalid*
hi, ive had before , again , cannot understand correctly , not know solution?
i have simple calculation:
var myvar = myround((20*1000/100),3)+" kg/hr";
notice has 2x / 1 division , 1 in unit str dw colour highlights part of else (regex?) , causes error warning?
do have carry on code incorrect code hints , constant sysntax error warnring?
thanks
andy
try breaking line -
var myvar = (1000/100);
myvar = myround((20*(myvar)),3)+" kg/hr";
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment