Difference between revisions of "Translations:AutoSum numerical text grid/5/da"
(Created page with "$("input:text").each( function(i) { if ($(this).attr("name").indexOf("QUESTION.") == 0) { tmpval = $(this).val(); if(tmpv...") |
(No difference)
|
Latest revision as of 08:55, 3 August 2017
$("input:text").each(
function(i) { if ($(this).attr("name").indexOf("QUESTION.") == 0) { tmpval = $(this).val(); if(tmpval != "" && !isNaN(tmpval)) { //DEBUGGING ALERT FOR GETTING THE ACTUAL VALUE //alert("|" + parseInt(tmpval) + "|"); tmpnumber += parseInt(tmpval); } } } ); if(UpdateSelfDefinedElement) $("#AUTOSUMSELFDEFINED").text("Sum Equals: " + tmpnumber); if(AddTotalRowToGrid) $("#AUTOSUM").text("Sum Equals: " + tmpnumber);
}