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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:23:30+00:00 2026-05-22T12:23:30+00:00

I wonder if anybody else is having this issue. I’m using Firefox 4 and

  • 0

I wonder if anybody else is having this issue. I’m using Firefox 4 and I’m debugging a function from an onclick event using Firebug. Now, to be sure, I checked the stack and it clearly shows that an onclick event was fired. However, when I type “event” (without quotse) in the watch pane, it says it’s undefined. Why? Now it recognizes “Event”, but not “event”. Is anybody else having this issue?

Thank you.

  • 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-22T12:23:31+00:00Added an answer on May 22, 2026 at 12:23 pm

    When debugging inside of your event function, add a watch for arguments[0]; this is the event object you are looking for.

    Modern, standards-compliant browsers don’t use a window.event object in the manner that some versions of Internet Explorer do.

    In these browsers, the event is passed to the event handler as an argument. So if you do something like the following…

    function foo(bar) {
       // do stuff
    }
    document.getElementById("myElement").onclick = foo;
    

    …then when #myElement is clicked, the browser will execute foo(bar), where bar is the event object. If you need to see the event object’s details, you would have to set a breakpoint inside of foo and add a watch for bar or for arguments[0].

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

Sidebar

Related Questions

I wonder how I can manipulate the DOM tree using PHP? I have seen
I wonder what is the best way to do this. val foo = Some(a)
I wonder if AJAX can use protocols other than HTTP or HTTPS.
I wonder if there is a need to use export when setting a variable
i wonder how do desktop apps without any domain names use oauth? or is
I wonder if it is possible to implement a GUI panel (possibly JPanel) that
I wonder whether someone may be able to help me please. I've put some
I wonder how to construct mysql DB for school diary. It will contain info
I wonder how I calculate the distance between the iPhone user position and a
I wonder whether there is an analogue of (//) in repa? It is needed

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.