I am trying to clear the value of the html textbox in vb.net using the provided button by vb.net.
Can someone please help me?
The frontend code for html textbox:
<input type="text" name="Desc" id="desc" size="28" maxlength="50" value=''>
Button code:
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click
desc.Text = ""
' What code should I do here?
End Sub