Adding FrontEnd element properties and JS listeners
Renderer
function myFunction() {
var tb = document.getElementById('textbox1');
var inpName = document.getElementById('input1');
tb.value = inpName.value;
tb.style.fontWeight = 'bold';
tb.style.color = 'green';
}<asp:TextBox ID="textbox1" runat="server">
</asp:TextBox>
<INPUT id="input1" type="hidden" value="0" runat="server" name="input1"/>JS Listeners
Last updated
Was this helpful?