Jquery works in JSfiddle but not within framework userFrosting

December 7, 2016 224 views

My jquery code works fine in JSfiddle, but act weird in framework ( i am currently using UserFrosting), why is that? some function always works fine, some function sometime works, and some other function works in a opposite way. Is it normal for jquery not working consistently in framework but always work in JSfiddle? Does that mean my jquery code has bug in it?

1 Answer

This is odd as UserFrosting contains a standard version of jQuery as far as I know. My only guess is that you may be using variable or element names that are already in use by the framework causing the issues you are seeing.

Have another answer? Share your knowledge.