OK, I'll try that, but there's something else going on. Forget about my
function; let's take the simplest possible case. Here's what I just tried:

I created the world's simplest HTML file -- NO JAVASCRIPT AT ALL. Here's
the complete code:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>trashtest.html</title>
</head>
<body>
<p id="HUH">What is going on?</p>
</body>
</html>

I dragged the file into Firefox, just as a file, _not_ loading it from my
development server. Then I opened a Firebug console, and typed in a single
word:

    HUH

When I ran it, Firebug's console displayed:

    > HUH
    <p id="HUH">

Firebug displays the element line with syntax coloring, and it's clickable
to the HTML tab, including the DOM sub-tab.

Please don't tell me it was "set by the page" -- there's NO JAVASCRIPT
ANYWHERE. It's not even running off my Apache server, just off the local
(Mac) file system.

Chrome's console gives approximately the same result.

Have browsers/consoles changed recently? Or is this some new HTML5
"convenience" that I haven't heard about? Or maybe I'm just going crazy?

Try pasting the code above into a blank text file, and drag it into your
browser. Does your Firebug console not behave the same way?

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/CAMoMLKhfcwQw5dLSoeWKBPFQwoknVN1cdVJNpMkhArbHRu7_0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to