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

Web site: http://www.srstage.d19.us * { padding: 0; margin: 0; } works, but that is
This site makes the following claim: http://hyperpolyglot.wikidot.com/lisp#ten-primitives McCarthy introduced the ten primitives of lisp
The site: http://tinyurl.com/358lh6a I want to revalidate the palace address (domain they are wanting,
Site: http://sebastiano.freehostia.com/ CSS: /style.css I'm not overly sure what's going wrong with the positioning
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 have a French site that I want to parse, but am running into
site.com/link?p=2 give $_GET['p']==2 even though i've already made site.com/link rewrite to site.com/index.php?page=link So, i'm
Site . This code is not optimized nor is it the best method. If
A site works fine with Chrome, FireFox, IE8 but does not work with IE7

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.