I'm trying to get some HTML form variables to use in Java.
here is the code:
/
function DisplayFindings();
//********************************************************
var dHours = parseInt(txtStatementHours);
var dUsageCost = parseFloat(txtKWHCost);
var dAmount = dHours * dUsageCost;
// display the potential rebate
var msg = "Your Statement Bill is: " + dAmount + "\n\n";
alert(msg);
}
********************
the HTML form Variables are :
txtStatementHours
txtKWHCost
They are user entered into the html form...
I'd really prefer not to use the "alert" function call.. I hate popups...
Any help would be appreciated.
Spartan117