mgmhicks
asked on
Why jquery clone update doesnt work in code behind
I have the following script, so when one textbox is changed it changes or clones to another. However in code behind, even thought the text seems to be there on the browser, comes back empty "". What am I missing here. Thanks (I have tried it with clientID and without.
$(function () {
$('#MainContent_txtOther') .keyup(fun ction () {
var txtClone = $(this).val();
$('#<%=txtAmt.ClientID%>') .val(txtCl one);
//$('#MainContent_txtAmt') .val(txtCl one);
$('#MainContent_txtAmt').f ormatCurre ncy();2
});
});
$(function () {
$('#MainContent_txtOther')
var txtClone = $(this).val();
$('#<%=txtAmt.ClientID%>')
//$('#MainContent_txtAmt')
$('#MainContent_txtAmt').f
});
});
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can't say without seeing some code (html output)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You are welcome.
ASKER
I figured out what was going before solution.
ASKER