Thanks John!!  I will use option #3.  Jim

On Aug 6, 5:37 pm, John J Barton <[email protected]> wrote:
> On Aug 6, 10:55 am, JimO <[email protected]> wrote:
>
>
>
>
>
> > Hi All,
>
> > I am a brand new member to this group; also, very new to Firebug and
> > jQuery.
>
> > In attempting to learn Firebug and jQuery (AT THE SAME TIME) I ran one
> > of the first examples in jQuery Cookbook (by O'Reilly.)  It is on page
> > 4 and does a simple hide(), text(), addClass(), and show().  The
> > program changes the text value "old content" to "new content".
>
> > The problem I am having is that instead of getting the expected result
> > of:
>
> > new content
>
> > (in the upper left-hand corner of the browser window, I am getting:
>
> > new content
> >   new content.
>
> > The program in question works fine in Safari and in Firefox when
> > Firebug is NOT enabled.
>
> > After a little research, I discovered that there is a <div> with an ID
> > of _firebugConsole.  I notice that when the addClass() function is
> > performed this <div> then has an ID and CLASS of
> > "#_firebugConsole.updatedContent".
>
> The div _firebugConsole is added by Firebug 1.5 to support the Console
> operations.
>
>
>
> > When the jQuery('div').text('new content') statement is performed it
> > is insert this text into this <div>.
>
> > I thought that the problem might be that I did not have FireQuery
> > installed, however, the problem occurs even after I installed it.
>
> > Has anybody else experienced this problem??  Does anybody have a
> > solution??
>
> 1. disable the Firebug Console,  OR
> 2. use Firebug 1.6, OR
> 3. Write your jQuery code relative to nodes you know are part of your
> application, eg nodes you obtain by getElementById or
> getElementsByClassName.
>
> I suggest #2 and #3.
>
> jjb
>
>
>
>
>
> > Thanks,
>
> > Jim

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to