How to set value to asp:textbox, added to the form as HTML?
Posted: 26 Nov 2014
How to set value to asp:textbox (not sharepoint field), added to the form as HTML?
For example, I added asp:TextBox (as HTML) to form:
<asp:TextBox runat="server" id="TextBox100" ></asp:TextBox>
I want to set the field value, and do other changes using javascript:
fd.field('TextBox100').value('100');- not work
document.getElementById('TextBox100').value= "100"; - not work
please help.
For example, I added asp:TextBox (as HTML) to form:
<asp:TextBox runat="server" id="TextBox100" ></asp:TextBox>
I want to set the field value, and do other changes using javascript:
fd.field('TextBox100').value('100');- not work
document.getElementById('TextBox100').value= "100"; - not work
please help.