jQuery Validate Uncaught TypeError: Nie można wywołać metody 'getAttribute' z undefined
Biorąc pod uwagę ten HTML za pomocą jQuery, sprawdź poprawność
<input id="accept-terms" type="checkbox" class="required"/>
<label for="accept-terms"> I accept the <asp:HyperLink ID="termsLink" runat="server" Target="_blank">terms and condtions</asp:HyperLink> of sale.</label>
<label for="accept-terms" class="error-text">You must accept the terms and conditions before purchasing</label>
Dostaję ten błąd:
Nieprzechwycony błąd typu: nie można wywołać metody „getAttribute” z undefined