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

The Archive Base Latest Questions

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

i know, this is a realy popular error. But my problem is that my

  • 0

i know, this is a realy popular error.
But my problem is that my script is over 1.500 lines big.

What can i do? …. or … what are you going to do?

Thanks in advance!
Peter

EDIT:

jQuery.extend({
    style: function( elem, name, value ) {
        // don't set styles on text and comment nodes
        if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) {
            return undefined;
        }

        // ignore negative width and height values #1599
        if ( (name === "width" || name === "height") && parseFloat(value) < 0 ) {
            value = undefined;
        }

        var style = elem.style || elem, set = value !== undefined;

        // IE uses filters for opacity
        if ( !jQuery.support.opacity && name === "opacity" ) {
            if ( set ) {
                // IE has trouble with opacity if it does not have layout
                // Force it by setting the zoom level
                style.zoom = 1;

                // Set the alpha filter to set the opacity
                var opacity = parseInt( value, 10 ) + "" === "NaN" ? "" : "alpha(opacity=" + value * 100 + ")";
                var filter = style.filter || jQuery.curCSS( elem, "filter" ) || "";
                style.filter = ralpha.test(filter) ? filter.replace(ralpha, opacity) : opacity;
            }

            return style.filter && style.filter.indexOf("opacity=") >= 0 ?
                (parseFloat( ropacity.exec(style.filter)[1] ) / 100) + "":
                "";
        }

        // Make sure we're using the right name for getting the float value
        if ( rfloat.test( name ) ) {
            name = styleFloat;
        }

        name = name.replace(rdashAlpha, fcamelCase);

        if ( set ) {
            style[ name ] = value; // <<------------------ invalid argument
        }

        return style[ name ];
    },

i get this error “invalid argument” when i start the page.

  • 1 1 Answer
  • 2 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-16T22:06:31+00:00Added an answer on May 16, 2026 at 10:06 pm

    try this bit of code vs. the line you have:

    //yours
    if ( set ) {
      style[ name ] = value; // <<------------------ invalid argument
    }
    
    // swap it out with this...
    if ( set ) {
      try{
        style[ name ] = value;
      } catch(ex){
        alert('Caught Exception attempting to set: [' + name + '] to [' + value + ']');
      }
    }
    

    I can only guess that the name you are trying to use is not one IE will allow. If this is the case, wrapping it in a try/catch will show you which property. (after that you can either ignore the error (if truly irrelevant) or gracefully set some alternative way.

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

Sidebar

Related Questions

I know that this is a popular topic, but I've yet to find an
I know this is probably really dumb, but I can't figure out why this
how to know where is this thing realy happen? my abject are complicate for
I know this probably really simple but Im not sure what im doing wrong...
I know this is really dumb but I'm trying to find the advanced settings
I know this is really simple but I cant find the docs for this
I know this is probably really obvious, but I cannot figure out why I
I know this is a really simple question but my google-fu is failing me.
I know this is a really basic question but I've been searching the internet
I know this might sound really ridiculas but all of a sudden when I

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.