Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.


edited August 2015 in Bug Reports
I am having issues when I try to use jquery-ui. I'm not exactly sure what's wrong as I tried following several of the jquery-ui examples. I'm sure it has something to do with perhaps the version of jquery being used, but I'm not experienced enough to know what's happening so I am turning to you guys for advice.

I'm including the jquery-ui.js and the jquery-ui.css. I use it like this:
$( "#datepicker" ).datepicker();

But I get the following:
Uncaught TypeError: $(...).datepicker is not a function

Any suggestions?


  • edited 12:38PM
    Actually, just ran across a reasonable explanation, so tried it and it worked. I had to give the jquery I was loading a different namespace to use.

    <link href="//" rel="stylesheet"> <script src="//"></script> <script src="//"></script> <script> // $j is now an alias to the jQuery function var $j = jQuery.noConflict( true ); </script>

    Now, this works as expected:

    $j( "#datepicker" ).datepicker();
Sign In or Register to comment.