jquery-1.11.1.min not working on Yun

I have a html page working fine when using zepto.min but when I use jquery my page is not working. I was in the asumption that zepto was just a limmited version of jquery and that everything should just work fine.

Both jquery and zepto are in my www folder with only one call for the script in my section. Do I need to change something in my code for it to work.

The only reason I want to try jquery is because I could not get a "simple" (simple for others) javascript to work that would allow me to auto refresh based on a checkbox setting.

setInterval(function () {
  if ( $("#myCheckbox").is(":checked") ) {
    $('#content').load('/arduino/refresh');
  }
}, 10000); // refresh every 10000 milliseconds

By calling both the zepto and jquery into my section the page displays as usuall but my setInterval function does not work.

Any advice on how to get jquery to work on the Yun?

I guess I will start by instaling a new image Please upgrade your Yún - latest is 1.3 - Arduino Yún - Arduino Forum

  • Previously, jsonp calls were triggered by the "jsonp" query string parameter only. Now, you can use "callback" as well. This makes it easier to query the Yún with jquery. #1

jquery has nothing to do with the Yun because jquery is client site (html browser) library for JavaScript.
I suggest you ask your question in the zepto forum.

BTW: I use jquery-1.10.2.min.js without any problems served by the web server installed on the Yun.