jQuery widget has no method "extend" jQuery widget has no method "extend" wordpress wordpress

jQuery widget has no method "extend"


This isn't the answer to your problem, but to illustrate, sometimes it looks like you are having a jQuery error when you are actually having an error with your custom javascript.

If you are using Chrome, you can open the console (Tools > Javascript console) and twirl the small arrow open on your error. This will show you all the lines of code that caused the error.

See image:

Use the console to find the line error

Often if you look down the list it will lead to another javascript other than jQuery. If you click on the black links on the right (i.e. activity.php) it will open up the offending lines if it is javascript.

Another problem (if you are using Wordpress) is that you might be loading jQuery twice. It sounds like you did it the right way, however, it's possible that one of your plugins did not.

EditWhat version of jQuery are you running (sorry misread jquery ui)

From the documentation: Ninja Forms uses the version of jQuery (the javascript library) that comes packaged with WordPress. This means that if you are using an external jQuery file, or another plugin is loading its own version of jQuery, errors may arise. For example, if you are using WordPress version 3.3 or higher, Ninja Forms expects that your site will have version 1.7 of jQuery. If you have a theme or plugin which changes this to an earlier version of jQuery, Ninja Forms may not work properly.