Posts by Albertino Júnior • 7 points
2 posts
-
-1
votes1
answer1028
viewsA: Click Outside Angular 6
@HostListener('document:click', ['$event']) onClickOutside($event) { const clickedInside = this.el.nativeElement.contains($event.target); if (!clickedInside) { //... } …
-
0
votes2
answers4123
viewsA: How to make google reCAPTCHA mandatory "required"
Use reCaptcha callback with jquery.validate $(document).ready(function () { $("#form").validate(); $("#btnSubmit").prop("disabled", ($("#Form1").valid() ? false : "disabled")); }); function…