score:0

Based on what I see in your code, it seems that you convert your values to strings in here:

var cwk = "${myFormpage.cweek}";
var cwk2 = "${myFormpage.cweek2}";
var cwk3 = "${myFormpage.cweek3}";

Change to:

var cwk = ${myFormpage.cweek};
var cwk2 = ${myFormpage.cweek2};
var cwk3 = ${myFormpage.cweek3};

And it should work...


Related Query

More Query from same tag