Trying to set this textbox
<%= Html.TextBoxFor(m => m.IndicationCalculatorNewGroupName, new {propertyName = "IndicationCalculatorNewGroupName", onchange = "UpdateField(this);", dontRegisterNewIndication = true })%>
like this:
$("#IndicationCalculatorNewGroupName").val('-- Enter new Group Name --');
I am accessing it fine using that Id and everything when I do other things like $("#IndicationCalculatorNewGroupName").show(); but not when I try and set it's text.
Thanks!