ASKER
function TotalUsedShares07() {
var value1 = document.getElementById('Number1').value,
value2 = document.getElementById('Number2').value,
value3 = document.getElementById('Number3').value,
theTotal = (parseFloat(value1) + parseFloat(value2) + parseFloat(value3));
document.getElementById('ResultTotal').innerHTML = theTotal;
}
and tested with this code, and it works fine...<div class="row">
<input type="number" id="Number1" name="Number1">
<input type="number" id="Number2" name="Number2">
<input type="number" id="Number3" name="Number3">
<label id="ResultTotal"></label>
</div>
<div class="row">
<input type="button" value="Set" onClick="TotalUsedShares07()">
</div>
ASKER
ASKER
ASKER
document.getElementById("<%=lbl07g.ClientID%>").innerHTML = theTotal;
The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications
TRUSTED BY
Open in new window