posabsolute / jQuery-Validation-Engine

jQuery form validation plugin
http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/
2.57k stars 1.2k forks source link

not working in angular 2 #949

Closed Midhilaj closed 5 years ago

Midhilaj commented 7 years ago

i included jquery validation files in index.html file

and installed jquery in angular 2 (using npm install --save jquery and

npm install @types/jquery@2.0.47 --save-dev ) and still now it is not working . form code

my ts code

constructor(){ $(document).ready(function(){ $("#idofurform").validationEngine(); }); }

it showing error [ts] Property 'validationEngine' does not exist on type 'JQuery'.
How to solve this issue?

dennybrandes commented 5 years ago

Solution can be found here: https://stackoverflow.com/questions/45051634/jquery-validation-engine-in-angular-2