can anyone tell me what is this code wrong? why i cant target the text field
how should i cdetect when key in the cost ,selling price and choose the % on discount, the total price will calculate automatically~
thx for help~
<head id="Head1" runat="server">
<script src="script/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<title></title>
<script type="text/javascript">
function CalculateCost(obj) {
$("lblTotal").val('');
var selPrice = $("#TextBox2").val();
var discount = $("#ddlDis").val();
$("lblTotal").val(selPrice - (selPrice * (parseInt(discount.replace("%", "&qu ...
Go to the complete details ...