jQuery is not defined in WordPress admin

If you have a WordPress install with many different plugins, you may experience that some jQuery functionality will be lost in the admin panel (i.e. you won’t be able to move the content blocks around your Dashboard).

When you open the console (press F12 in most browsers), you will see several errors that will read:

You may also see something like:

Here is how you fix both of these with two easy steps…

Continue Reading No Comments

jQuery/Ajax XMLHttpRequest() problem in Internet Explorer – “Object doesn’t support this property or method”

This is a common problem with Microsoft Internet Explorer browser (with ActiveX, actually) and it has been present forever. While calling and Ajax function

IE will say that Object doesn’t support this property or method. In Firefox and Google Chrome above code works with no issues, so all we have to do is implement an if statement, checking for our browser. If the browser is detected as Internet Explorer, we will load ActiveX instead of XMLHttpRequest.

Continue Reading No Comments