gigi58
March 23, 2011, 12:32pm
1
Thanks anyone here who can help. I have these two errors when the page is loaded. This is a joomla site so a bit trickier for me to check this and why. Everything is working ok including the maps. This error is when you click the little EXCLAMATION mark down in the left corner in IE8. Thanks for help.
Message: Object expected
Line: 42
Char: 1
Code: 0
URI: http://www.google.com/jsapi?key=AIzaSyDjODM4ksGx2w26t0-eqsx22b_zUi75ghU&cx=017576662512468239146:omuauf_lfve&q=lectures&callback=handleResponse
Message: Object doesn’t support this property or method
Line: 570
Char: 3
Code: 0
URI: Adventures Thailand - Thailand Destinations, Thailand Adventures and Thailand Travel Tips
AllanP
March 24, 2011, 1:35am
2
gigi58
March 24, 2011, 2:54am
3
Can you tell me how to rectify “handle response” error?
The other I will have a look, but this is I guess how it is written, will maybe contact the developer! Would that be the way to go.
Thanks.
AllanP
March 24, 2011, 4:04am
4
Sorry, I can’t help with that. It appears to be a google problem.
The script being requested is: http://www.google.com/jsapi with the following querystring parameters
key=AIzaSyDjODM4ksGx2w26t0-eqsx22b_zUi75ghU&cx=017576662512468239146:omuauf_lfve
q=lectures
callback=handleResponse
The callback parameter is for handleResponse, which doesn’t appear to be a function that exists. Why is that callback there?
The document ready part of the code doesn’t have a parameter. You need to add one so that the updated version of jQuery can be passed to the function.
jQuery(document).ready(function(jQuery){
You can also use this as a replacement, if you want to use $ inside the function instead of jQuery
jQuery(function ($) {