if textbox is empty then placeholder color change to red on button click
on button click there is multiple textbox so how it work in asp.net
placeholder color change to red on button click
<asp:TextBox ID="txtfirstName" class="form-control placeholder" placeholder="First Name" runat="server" ></asp:TextBox>
<asp:TextBox ID="txtlastName" class="form-control placeholder" placeholder="Last Name" runat="server" ></asp:TextBox>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" ValidationGroup="r" Text="REGISTER" CssClass="btn-two" />
like this textboxes and on submit button click if any textbox is empty placeholder color change to red