Hi Steve,

The first one worked for me when I pasted your HTML into a local document.

The second and third don't work because they're referring to classes as IDs. Note that you have #x-dlg-bd to select <div class="x-dlg-bd"> and #x-dlg-tab to select <div class="x-dlg-tab"> when they should be .x-dlg-bd and .x-dlg-tab, respectively.



--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Oct 2, 2007, at 4:58 PM, Steve Brownlee wrote:


jQuery has finally managed to make me feel stupid.  I've been using it
a while and never had any problems, until today.

What's the proper way to specify the 'acc-ct' div inside
NoteModalDialog?  So far I've tried...
$("#NoteModalDialog").find("#acc-ct")
$("#NoteModalDialog #x-dlg-bd #x-dlg-tab #acc-ct")
$("#NoteModalDialog > #x-dlg-bd > #x-dlg-tab > #acc-ct")

None worked.  I feel stupid.

<div id="NoteModalDialog">
        <div class="x-dlg-hd">Request Notes</div>
        <div class="x-dlg-bd">
        <div class="x-dlg-tab" title="">
                        <div id="RequestNoteForm"></div>
                        <div style="font-size:1.1em; font-weight:800;">Previous 
Notes</div>
                        <div id="acc-ct" style="width:100%; height:200px">

                        </div>
                </div>
        </div>
</div>


Reply via email to