Beginning jQuery question. Here’s the code…
var control1= document.getElementById("Carbs_txtSubsContrRbtAmt");
var control2 = $("#Carbs_txtSubsContrRbtAmt");
Why doesn’t the second debug print evaluate the same as the first?
? control1.id
"Carbs_txtSubsContrRbtAmt"
? control2.id
undefined
To get the
idyou can use