Comments on jQuery Helpers

Last modified by Manuel Smeria on 2021/03/17 22:04

  • Vincent Massol
    Vincent Massol, 2012/03/29 10:35

    Nicolas, what do you mean by "2 plugins"? What is a plugin? Thanks

  • Vincent Massol
    Vincent Massol, 2012/03/29 10:37

    Could you explain how to use this extension?

  • Vincent Massol
    Vincent Massol, 2012/03/29 10:39

    You should also explain if this needs to have jQuery installed and how to do it.

  • dddu88
    dddu88, 2012/04/24 22:14

    Hi, Nicolas,

    Thanks very much for your jQuery Extension, I am using it to avoid prototype $ sign conflict, it is working very well on Firefox, but on IE7 and IE8, it gave me "jQuery is undefined" error right on this call $xwiki.jsx.use("jQuery.jQueryUI"), I can see the minified UI source code in web developer debugger, the error message is just generated at jQueryUI?language=en, line 1 character 1.
    I checked your demo1 and demo2 page in IE7 and 8, the error happened as well. Any idea how to fix this?

    Thanks very much

  • JamieMaher
    JamieMaher, 2012/05/15 01:03

    I had to modify the XWiki.JavaScriptExtension under object editor on the jQuery.jQuery page.
    There should be a check for the existence of console, before trying to log the debug messages to make Internet Explorer 7 work correctly with this jQuery extension:

    At the top of the js extension:

    if ( typeof( console) != "undefined") console.log ('defining jQuery');

    and the same at the bottom after the jQuery definition:

    if ( typeof( console) != "undefined")  console.log ('defined jQuery');

    Otherwise, IE7 barfs on console and fails to define jQuery at all.

    • Sergiu Dumitriu
      Sergiu Dumitriu, 2012/10/29 23:19

      Fixed that in version 1.1.1, thanks for reporting.

Get Connected