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 1043073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:36:31+00:00 2026-05-16T15:36:31+00:00

For a site I’m building, I import my Jquery code from… http://jqueryjs.googlecode.com/files/jquery-1.3.2.js …but when

  • 0

For a site I’m building, I import my Jquery code from…

http://jqueryjs.googlecode.com/files/jquery-1.3.2.js

…but when I run the site in IE, it gives me various instances of “argument not valid” on line 4031.

This happens when I hover above a field which should be animated on trough Jquery. Here is the JS code I wrote…

$('body ul li').each(
        function(){
            var tamcompleto = $(this).css('height');
            $(this).hover(
                function(){
                    $(this).stop().animate({height:tamcompleto},{queue:false, duration:600, easing: 'easeOutBounce'});
                },
                function(){
                    $(this).stop().animate({height:'50px'},{queue:false, duration:600, easing: 'easeOutBounce'});
                }
            );
            $(this).css('height','50px');
        }
    );

Is this a case of incompatibility? Or is my code wrong?

Also, I’ve tried height:'auto' instead of height:'tamcompleto' on the hover function, but it doesn’t work, Isn’t height:'auto' supposed to be the right way to do 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-05-16T15:36:32+00:00Added an answer on May 16, 2026 at 3:36 pm

    If the element doesn’t have a height specified, css('height') won’t return anything. You can use the height function instead, which gives you the actual height in pixels:

    var tamcompleto = $(this).height() + 'px';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This site is pretty good but I'm wondering what other resources are out there.
the site addres: http://www.ynet.co.il/YediothPortal/Ext/TalkBack/CdaTalkBack/1,2497,L-3650194-0-68-544-0--,00.html fill the form with rubbish. Hit 'Send' the form post
I've made a site using with a CSS made from scratch. The Page The
I've got a site: http://www.sucramma.dk When I'm in FF, Chrome, or Safari, the site
I'm planning a site which needs the users' trust. To help trust building, I
I've search the jquery site for this ...and I just can't find it. I'm
I just go to this site: http://www.domdesignonline.de/ . Take a look at div#siteend ,
Site 1 has dll's for x amount of object and data calls. Can Site
My site has a drop-down menu built in CSS and JavaScript that drops down
My site has quite a deep navigation structure and quite often it looks like

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.