hi sir
i need a help in inline edit.
i have created a page.and created a function to call in on-change of a first text box.
i get the value in alert box.
Please help me to assign to the third text box.
The Sample Function:
function calculateTS()
{
var dob = $("input[name='ts'].editable").val();
// $("input[name='total'].editable").val() ;
// alert( dob);
if(dob != '')
{
var totalw=$("input[name='QTY'].editable").val()* $("input[name='ts'].editable").val();
$('#total').html(totalw);
alert( $('#total').html(totalw));
$("input[name='total'].editable").val() = totalw;
}
}
2 Answers
This is value assignment syntax in jquery.
$("input[name='total'].editable").val( totalw );
Your Answer