[jQuery] Re: jQuery Conference for 2009?

2009-06-19 Thread riotbrrd
Very interesting! What might one find at a jQuery conference? Besides Karl, John, et al, of course?

[jQuery] A general Javascript question: duplicate IDs in a document?

2009-03-31 Thread riotbrrd
I realize this is not jQuery specific, but I figured you guys might have some good advice... I often find myself wanting to assign the same ID to multiple elements in a document -- typically when there are several versions of an element which display at different times. Is there a good reason NOT

[jQuery] Re: Work on one specific node and not on the window.document

2009-03-31 Thread riotbrrd
By way of explanation, this works because the jQuery selector function has an optional context parameter: $(expression, [context]) . See the docs here: http://docs.jquery.com/Core/jQuery#expressioncontext. -Kim On Mar 30, 11:18 pm, xPheRe wrote: > To locate a node with id "myId" that is a desce

[jQuery] Re: I jQery!

2009-03-25 Thread riotbrrd
Um, I really did mean "jQuery". :-\ On Mar 25, 4:08 pm, riotbrrd wrote: > Just wanted to send a little luv note to the jQuery team. I'm a UI > designer and NOT a programmer, but learning jQuery has allowed me to > make my software wireframes/prototypes way more function

[jQuery] I jQery!

2009-03-25 Thread riotbrrd
Just wanted to send a little luv note to the jQuery team. I'm a UI designer and NOT a programmer, but learning jQuery has allowed me to make my software wireframes/prototypes way more functional. Yesterday a client said to me, "I'm amazed at how fast you guys turn around these wireframes." Well, i

[jQuery] Re: How to find a parent

2009-02-28 Thread riotbrrd
ancel link has an id of 'cancel': > > > How about: > > > $(document).ready(function() { > > >      $('#cancel').click(function() { > >                 $(this).parent('div.popup:first') > >      }); > > > }); > > > No

[jQuery] How to find a parent

2009-02-28 Thread riotbrrd
I have a bunch of Divs with class ".popup". Each div is different in what it contains; some are simple, some are pretty complex, containing tables, other divs, etc.. If I have a link, for example,"Cancel", within that Div, and the only thing that I know about Cancel is that 1) it has a parent div

[jQuery] Re: Capture a click outside of a specific object?

2009-01-14 Thread riotbrrd
Hmmm, I wasn't able to find anything about that, though I checked only quickly. What section fo the docs would that be in? On Jan 13, 5:44 pm, Kean wrote: > You might want to look at live and die method now posted in jQuery > documentation. > > On Jan 13, 11:32 am,riotbrrd wr

[jQuery] Re: Capture a click outside of a specific object?

2009-01-14 Thread riotbrrd
Thanks, Sam! I had to make one change, then it worked. I got an error message that "event" was undefined, so I changed the first line from: $(document.body).click(function(){ to $(document.body).click(function(event){ Gotta tell ya, when I hear the phrase "event delegation" my head starts to hur

[jQuery] Capture a click outside of a specific object?

2009-01-13 Thread riotbrrd
Hi all, Is there a simple way to capture a click event in a window/document and then determine whether the click was inside an element #foo, or outside of that element? Thanks! -Kim