WordPress, Google's jQuery and IE7
-
Hi there.. I’m having a problem with WordPress using Google’s hosted version of jQuery – works fine in all browsers except IE7.
I added this code to my functions.php file:
if( !is_admin()){ wp_deregister_script('jquery'); wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"), false, '1.5'); wp_enqueue_script('jquery'); }
And when I load the page in IE7 it immediately chokes on the first line of the jQuery call with the error:
“object doesn’t support this property or method”.
If anyone has any clues, I’m kinda stumped!
Toby
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘WordPress, Google's jQuery and IE7’ is closed to new replies.