I had no idea that it was as complicated as it is. I downloaded the plugin and it worked great. Thanks.
On Mar 9, 6:29 pm, mkmanning <michaell...@gmail.com> wrote: > There's at least one plugin (http://plugins.learningjquery.com/ > textchildren/); you might want to search the plugin repository. If you > aren't going to take advantage of it's other features, and don't want > to incur an additional http request just for this, you can do it with > jQuery: > > $.trim($('div.window-titleBar').clone().children().remove().end().text > ()); > > On Mar 9, 4:14 pm, bawestcott <bwestc...@shaw.ca> wrote: > > > > > I am using the jquery windows plugin and i would like to be able to > > get the title of each window that is created. An example of the html > > that the plugin creates for the windows title bar is: > > <div class="window-titleBar" style="z-index: 103;"> > > Click Example5 > > <div class="window-minimizeButton">-</div> > > <div class="window-maximizeButton">O</div> > > <div class="window-closeButton">X</div> > > </div> > > > In this case I would like to get the value "Click Example 5" from this > > particular window. I can get the values of all of the divs in > > windowTitleBar ("Click Example5-0X"), but I can't figure out how to > > get the firat value only. > > Can someone plase help?- Hide quoted text - > > - Show quoted text -