Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8350745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:25:03+00:00 2026-06-09T08:25:03+00:00

I am using jQuery Cookie Plugin and its working fine on all pages except

  • 0

I am using jQuery Cookie Plugin and its working fine on all pages except on home page for running that page I am banging my head but no luck.

My code looks like:

$.cookie('CA_txtKeywords', $("#CAT_txtKeywords").val(), { expires: 7, path: '/' });

In firebug It says:

Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method ‘cookie’

Can some one please guide what is this error and how to remove it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T08:25:05+00:00Added an answer on June 9, 2026 at 8:25 am

    You include jQuery in your head, then you include the cookie plugin, but then at the bottom of the page you have this:

            <script type="text/javascript" src="http://www.google.com/jsapi"></script>
            <script type="text/javascript">
      // You may specify partial version numbers, such as "1" or "1.3",  with the same result. Doing so will automatically load the latest version matching that partial revision pattern 
      // (e.g. 1.3 would load 1.3.2 today and 1 would load 1.4.1).
      google.load("jquery", "1");
    
      google.setOnLoadCallback(function() {
        // Place init code here instead of $(document).ready()
    $(".euro").parseNumber({format:"#,###", locale:"it"});
    $(".euro").formatNumber({format:"#,###", locale:"it"});
    
    })
    </script>
    

    Which loads jQuery AGAIN using the google loader. Because you load jQuery again, whatever was attached directly to the jQuery namespace (not the prototype) in the head of the document gets removed.

    So it comes down to, why in the world are you loading jQuery twice?

    Solution:

    Remove the google loader and request for it to load jQuery from the footer of your home page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm using the jquery cookie plugin. Everything works fine except the fact that I
Can the Jquery Cookie plugin only read cookies that it sets? I am using
I'm currently using jQuery Cookies plugin, and depending on which side of the page
I'm using the jQuery Tabs UI along with the jQuery Cookie plugin from GitHub.
Using the code sample below, how could I utilize the jquery cookie plugin so
Ok so I am using this, https://github.com/carhartl/jquery-cookie , jquery plugin and I need to
I am using the jQuery cookie plugin to set a cookie called 'orderStatus' with
I am using jQuery resizable from interface.eyecon.ro/docs/resizable for a menu on a page that
I'm using the jQuery Cookie Plugin on my homepage but it doesn't work in
I am using popular jquery Cookie plugin https://github.com/carhartl/jquery-cookie Wonder how to set and read

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.