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

The Archive Base Latest Questions

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

hello i was using my long polling code from a long time it was

  • 0

hello i was using my long polling code from a long time it was working fine with jquery verison 1.8 but since i upgraded it to verison 1.8.1 it stopped working and its giving me the error

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

this is my code

  (function pollfrnd() { setTimeout(function() { 
        var demon=$('.frndnotimore').val();
        var page="notirequest";
        var a=$('.gvpgvpxgvp').val();
        $.ajax({ url: 'modules/notifications/beast.php?nid='+demon+'&id='+a+'&page='+page, 
        success: function(html) {
        if ($.trim(html) == 'no')
        {

        }
        else
        {

        $('.frndnotimore').remove();
        $('.notiloadfriend').prepend($(html).fadeIn('slow'));
        counter(a,page);
        }
        }, dataType: "html", complete: pollfrnd }); }, 60000); })();

    });
  • 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:58:07+00:00Added an answer on June 10, 2026 at 6:58 pm

    When I run your code exactly as below, I get no error at all actually(jquery 1.7.2 AND jquery 1.8.1 AND EVEN Firefox 14) and it even tries to poll something:

    function pollfrnd() { setTimeout(function() { 
            var demon=$('.frndnotimore').val();
            var page="notirequest";
            var a=$('.gvpgvpxgvp').val();
            $.ajax({ url: 'modules/notifications/beast.php?nid='+demon+'&id='+a+'&page='+page, 
            success: function(html) {
            if ($.trim(html) == 'no')
            {
    
            }
            else
            {
    
            $('.frndnotimore').remove();
    
            $('.notiloadfriend').prepend(html);
            //This code below was your problem in Firefox
            //$('.notiloadfriend').prepend($(html).fadeIn('slow'));
            counter(a,page);
            }
            }, dataType: "html", complete: pollfrnd }); }, 60000); }
    
     pollfrnd();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello i'm using map() jquery to create a new object array DEMO but this
hello i am using this Page.ClientScript.RegisterStartupScript() to call a javascript function from vb code
I am using 'this' keyword for a long time. But when someone asks me
It took me a long time but I finally got nHibernate's Hello World to
Hello i am using the latest version of artoolkit, and succesfully compiled simplevrml, but
Hello I'm using this star rating widget http://www.fyneworks.com/jquery/star-rating/ to add functionality for users to
Hello guys Im using advance notification manager this is the code Notification note =
I'm communicating from a flash application using a command like the following: ExternalInterface.call(hello, world)
I have main site to which i put code using require function, but when
I am using the code template from Microsoft at this site with this snippet

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.