Closed Midhilaj closed 5 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?
Solution can be found here: https://stackoverflow.com/questions/45051634/jquery-validation-engine-in-angular-2
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?