Software Archive
Read-only legacy content
17060 Discussions

$ is not defined

Brandt__Lars
New Contributor I
414 Views

If I download the latest app framework and include appframework.ui.min.js in in my blanc html5+cordova project, and then try a simple method: $.afui.showMask (straight from the API reference)...I get "$ is not defined).

If I include a framework 2 version of appframework.ui.min.js, then $.ui.showMask work.

What am I missing?

0 Kudos
1 Reply
Brandt__Lars
New Contributor I
414 Views

Just found this info, a remark in thread:

"BTW - AF3 no longer includes a custom version of jQuery, like AF2 did. It relies strictly on standard jQuery (preference is for jQuery 2)."

...So, when using AF3 you need to include standard jquery. I really think you should put this info where it is noticed, like the front App Framework page.

0 Kudos
Reply