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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:34:39+00:00 2026-05-15T20:34:39+00:00

I just started doing some Javascript work for a project, I do mostly backend

  • 0

I just started doing some Javascript work for a project, I do mostly backend work so I’m sorry for being new at this! Also, not using a Javascript framework because I want to learn about the fundamentals before making everything very easy for myself 🙂

So, here is my question/confusion: I wrote a little javascript that dynamically changed forms. This is how I called the code:

// loads the initial box
window.onload = initList(environment_box);

// loads artifacts on each change to environment select box
environment_box.onchange = changeList;

This worked like magic – in CHROME that is! I never noticed it wasn’t working in Firefox (its just an internal tool, so I can assume decent browsers, but I figure hey, if its working in Chrome, it will work in Firefox!). So, I did some investigation, and it seems as though the code isnt getting executed in Firefox. I whipped out firebug and wanted to see what was going on.

The interesting thing was, when I enabled Console on firebug, my code got executed! I am very confused as to why, and I would much appreciate any help I could get. Thanks!

-Shawn

  • 1 1 Answer
  • 3 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-15T20:34:40+00:00Added an answer on May 15, 2026 at 8:34 pm

    You are calling some method on console in your JavaScript is my best guess. Chrome has console defined be default, so it is not a problem.

    On Firefox, however, there is no such global object (not without Firebug), so when you try to call a property on an undefined object like,

    console.log(..);
    

    it throws an exception which you are not catching, so the JavaScript execution halts.

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

Sidebar

Related Questions

I just started doing some reading (new to xcode/iphone development) into web services and
I have just started doing some ImageMagick work. I am currently trying to convert
I've just started doing some work with Google Closure, and I'd like to move
I've just started teaching myself JavaScript and am doing some basic exercises. Right now
I've just started doing some real-world performance testing on my Fluent NHibernate / SQLite
Just started my first WCF rest project and would like some help on what
We have just started our new assignment - web-based project. Before I get directly
Just started a tutorial in SQL for beginners. I'm doing some exercises now and
Why does this work for some people, and doesn't for others? Others just click
Just started doing some code porting from .Net CF to Blackberry JDE 4.6.1. But

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.