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

  • Home
  • SEARCH
  • 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 7529269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:36:54+00:00 2026-05-30T04:36:54+00:00

I load this JS as a separate file, so it is then available after

  • 0

I load this JS as a separate file, so it is then available after page has completely loaded :

    //now load the values from the retrieved table, after a change initiated by user
    $(document).change(function() {

            //all formulae go below here:
        // Ordered trays formula
        $('table.gt-table tbody tr').each(function() {
            var tray = 0;
            var ordcell = 0;

        var traycode= $(this).find("td.gt-col-mygrid1-trays_code div").html();  
         var ordcells= $(this).find("td.gt-col-mygrid1-ordered_cells div").html();  
         if (parseInt(traycode) >0) { 
             tray = parseInt(traycode); 
             } else { 
             tray = 0;
         }
           if (parseInt(ordcells) >0) { 
             ordcell = parseInt(ordcells); 
             } else { 
             ordcell = 0;
         }
         if (tray > 0 && ordcell > 0)  var ordtrays = ordcell/tray;
        if (ordtrays > 0){
            $(this).find("td.gt-col-mygrid1-ordered_trays div").html(ordtrays);
        }
        });
        // end Ordered trays formula
        alert("boo");

    }); // end the window change function

But it only works happily in Chromium. Both Opera and Firefox never fire ‘boo’ when the document is edited (it’s a Sigma grid that has editable cells).

Any ideas?

  • 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-30T04:36:56+00:00Added an answer on May 30, 2026 at 4:36 am

    I believe the change event on document is a new thing as of the HTML5 specification (I can’t find it in DOM2 Events [which defines change for input, textarea, and select], DOM2 HTML, or DOM3 Events), and although it’s mentioned by the HTML5 spec, it’s not specified at all as far as I can see. So I suspect it’s not widely-supported (yet?).

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

Sidebar

Related Questions

I have javascript code embedded inside a html template file. When I load this
I have this query this.FixturePartidoPuntaje.Load(); var partidos = from q in this.FixturePartidoPuntaje where (
when i try to do this and load the webforms page, i get this
I would like a batch file to launch two separate programs then have the
Is it the same if you load javascript to the page like this: <script
I want to load this simple something into my Editor: Write:-repeat,write(hi),nl,fail. So that it
Is this the correct way to do it? <a id=load href=# class=btn load onclick=request(this);
Which is the preferred/recommended way of handling events in .NET: this.Load += new EventHandler(Form1_Load);
I'm using lighttpd as webserver for php application server. The avg. load on this
How to specify load rules in this case? Previously discussed in How do 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.