+ 5

[Angular JS] join jquery to angular

Can I join Jquery with angular ? How ? for example, I want to do $('.myClass').click(function() { $scope.range++; });

9th Mar 2018, 4:38 PM
NoxFly
NoxFly - avatar
22 ответов
+ 1
Angular includes its own JQuery implementation internally, but in any case you can do what you like and use your JQuery implementation. In any case, what you want to do can be done with ng-click quite easily. In w3schools there is an example that resembles: https://www.w3schools.com/angular/ng_ng-click.asp
10th Mar 2018, 12:52 AM
Mickel
Mickel - avatar
+ 14
https://stackoverflow.com/questions/35054004/how-to-use-jquery-with-javascript-in-angular-2
9th Mar 2018, 7:36 PM
Vukan
Vukan - avatar
+ 13
Angular replace jquery. Reactjs replace jquery. ect. It's not good idea to mix Angular and jquery.
10th Mar 2018, 12:20 AM
MecyDev
MecyDev - avatar
10th Mar 2018, 12:44 AM
MecyDev
MecyDev - avatar
+ 12
why use jquery with angular ???
9th Mar 2018, 11:58 PM
MecyDev
MecyDev - avatar
10th Mar 2018, 1:07 AM
MecyDev
MecyDev - avatar
+ 11
It's Angular event... that i post.
10th Mar 2018, 9:16 AM
MecyDev
MecyDev - avatar
+ 10
^^
10th Mar 2018, 2:10 PM
MecyDev
MecyDev - avatar
+ 9
arf... on ne sait plus qui est français ou pas. ^^
10th Mar 2018, 11:39 AM
MecyDev
MecyDev - avatar
+ 8
ha oui. ^^
10th Mar 2018, 11:42 AM
MecyDev
MecyDev - avatar
+ 8
Discord ? heu...^^
10th Mar 2018, 12:02 PM
MecyDev
MecyDev - avatar
+ 7
c.mechain, oui mais Mickel a trouvé pile poil les scripts qu'il me fallait.... donc je sais que je devrais aussi te mettre the best answer
10th Mar 2018, 11:30 AM
NoxFly
NoxFly - avatar
+ 7
Nope. Le dernier truc private que j'ai utilisé c'est... msn...^^
10th Mar 2018, 1:59 PM
MecyDev
MecyDev - avatar
+ 6
mdrr faut que tu aille voir le classement francais all time, je suis pas loin derriere toi ^^
10th Mar 2018, 11:40 AM
NoxFly
NoxFly - avatar
+ 6
XD tad pas un truc en private ?
10th Mar 2018, 12:08 PM
NoxFly
NoxFly - avatar
+ 5
tu as discord ? jvoudrais que tu maides pour un code
10th Mar 2018, 11:42 AM
NoxFly
NoxFly - avatar
+ 5
omg
10th Mar 2018, 2:07 PM
NoxFly
NoxFly - avatar
+ 4
there is not another solution easier ?
9th Mar 2018, 11:25 PM
NoxFly
NoxFly - avatar
+ 4
jquery for event, and bcs I know a lot of jquery, but angular is good for loops etc...
10th Mar 2018, 12:13 AM
NoxFly
NoxFly - avatar
+ 4
so what is the translation of this jquery in angular js ? https://code.sololearn.com/WRuGuKbTvpmi/?ref=app
10th Mar 2018, 12:25 AM
NoxFly
NoxFly - avatar