[jQuery] Re: Getting text from a div

2009-03-10 Thread bawestcott
I found that : this.$windowTitleBar[0].firstChild.data works On Mar 9, 8:10 pm, RobG wrote: > On Mar 10, 9:14 am, bawestcott 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

[jQuery] Re: Getting text from a div

2009-03-09 Thread bawestcott
; 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,

[jQuery] Getting text from a div

2009-03-09 Thread bawestcott
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: Click Example5 - O X In this case I would like to get the value "Click Example 5" from this particular w