Jquery issue


HTML code:

<button ion-button id={{corso.tabella}} (click)=“k(corso.tabella,corso.nome)”> +

basically when i push the button its text change to -/+ calling $(id).text(’ - ');
it runs when im in “ionic serve”, but when i try to run it on my device the text doesent change.
Do anyones knos why? please help (and sorry if my english isnt so good)


jQuery does not play well with Angular. Someone who knows jQuery might be able to help you get it working if you provide more details. But if you Google “jquery angular” you will see that it’s a bad idea to use the two together.