So, I created an "onclick" event on my ASP.NET TextBox:
<asp:TextBox ID="txtStudentNo" runat="server" onclick="txtStudentNo_Clicked()"></asp:TextBox>
The function inside the script tag is as follows:
function txtStudentNo_Clicked() {
document.getElementById("lblValidation").style.display = "none"; }
The onclick event is working but when I do click on the textbox, there's an indention, how can I remove it? I am still looking for ways but just in case someone answer me here, thank you in advance!