Hello,
I have a little problem with this simple code:
$("#favSearch").on('click',function(){
if(favStatus){
$(this).removeClass('active');
favStatus=false;
search(table);
}else{
$(this).addClass('active');
favStatus=true;
search(table);
}
});
If JQT is not loaded, the code work properly. But when loaded, the class is added and instantly removed.
As I'm new to JQT, I was wondering if I had missed something...
Thanks!