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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:49:16+00:00 2026-06-10T18:49:16+00:00

a part of my code uses the html returned from the ajax call to

  • 0

a part of my code uses the html returned from the ajax call to be prepend to a div. but when i updated to jquery version 1.8, it stopped working in firefox thought it works perfect in chrome and other browsers.

my code is

$("#content").prepend($(html).fadeIn('slow'));

and the error in firefox is

NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg
0 [nsIDOMWindow.getComputedStyle]

i tired figuring out the problem and found that using $("#content").prepend(html); without fadeIn works fadeIn('slow') is causing the problem . Can anyone help me with a code in which i can use both and works fine with jquery version 1.8 and firefox.

  • 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-10T18:49:18+00:00Added an answer on June 10, 2026 at 6:49 pm

    How about:

    $(html).prependTo("#content").fadeIn('slow');
    

    $(html) would of course have to be initially hidden for it to work ?

    If you’re really trying to fade in the #content element, you could do:

    $('#content').prepend(html).fadeIn('slow');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple HTML form that uses uses ajax in part of the
I've made jQuery & AJAX script that uses a PHP function to bring back
I have this part of code in my functions.php: function cc_admin_enqueue_scripts($hook) { $file_dir=get_bloginfo('template_directory'); wp_enqueue_script('media-upload');
I want to test my part of code that returns the users password question.
I'm having a problem with a part of code. It should work,since it is
I am trying to learn and writting this part of code. while testing few
Suppose I have a Markdown string: * Bullet has *bold [code]*test[/code] part*. *Another\nbold* item.
i have this simple question please. I have this part of code which sets
I'm stuck on one thing i can't get solved. I have part of code,
I'm studying data structures (List, Stack, Queue), and this part of code is confusing

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.