Remove '
this
' inside
fun()
method because the method does not contain any parameter. or do vice versa
<asp:TextBox ID="TextBox1" runat="server" BackColor="Bisque" Width="125" onchange="javascript:fun()">
Please mark as answer and vote 5 if this solved your problem
Regards,
Eduard