Hello, I have something weird going on with these piece of code. I have 3 textboxes on my form, txtboxA + txtboxB + txtboxC.
They are money values. txtboxC is automatically caluculated when the user enters txtboxA and txtboxB.
I have the 'enter' button on the keyboard disabled also. For some reason when users are entering numbers in the textboxes and if they don't enter the numbers in a particular order like txtboxA first, then txtboxB.. they get an error in the textbox that
reads '$NaN'.
I have no idea where this error message in the textbox is coming from. Does anyone have any ideas?
function CalTotalFeeForwarded() {
var A = parseFloat(stripFormatting(document.getElementById("<%=txtboxA.ClientID %>").value));
var B = parseFloat(stripFormatting(document.getElementById("<%=txtboxB.ClientID %>").value));
document.getElementById(" ...
Go to the complete details ...