SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Errors on webpage possibly jsapi

    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=AIza...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

  2. #2
    SitePoint Addict bronze trophy AllanP's Avatar
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    298
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The following three errors seem to be the problems in the second example:

    Error: handleResponse is not defined
    Source File: http://www.google.com/jsapi?key=AIza...handleResponse
    Line: 42

    Error: jQuery("img.captify3").captify is not a function
    Source File: Adventures Thailand - Thailand Destinations, Thailand Adventures and Thailand Travel Tips
    Line: 576

    Unable to post message to http://googleads.g.doubleclick.net. Recipient has origin Adventures Thailand - Thailand Destinations, Thailand Adventures and Thailand Travel Tips.

  3. #3
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  4. #4
    SitePoint Addict bronze trophy AllanP's Avatar
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    298
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Sorry, I can't help with that. It appears to be a google problem.

  5. #5
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,702
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by AllanP View Post
    The following three errors seem to be the problems in the second example:

    Error: handleResponse is not defined
    Source File: http://www.google.com/jsapi?key=AIza...handleResponse
    Line: 42
    The script being requested is: http://www.google.com/jsapi with the following querystring parameters

    key=AIzaSyDjODM4ksGx2w26t0-eqsx22b_zUi75ghU&cx=017576662512468239146muauf_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?

    Quote Originally Posted by AllanP View Post
    Error: jQuery("img.captify3").captify is not a function
    Source File: Adventures Thailand - Thailand Destinations, Thailand Adventures and Thailand Travel Tips
    Line: 576
    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.

    Code javascript:
    jQuery(document).ready(function(jQuery){

    You can also use this as a replacement, if you want to use $ inside the function instead of jQuery

    Code javascript:
    jQuery(function ($) {
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •