[jQuery] Re: Triggering a click

2008-09-05 Thread jerpod
Thanks Ca-Phun Ung...that's exactly what I needed. jp On Sep 5, 11:25 am, Ca-Phun Ung <[EMAIL PROTECTED]> wrote: > Try: > > $('.nominatelink').click(function(e){ >   $(this).siblings('img').trigger('click'); >   e.preventDefault(); > > });

[jQuery] Triggering a click

2008-09-05 Thread jerpod
I've got some html that looks like this: Some text here. Make your nomination. This is award info A click on the plusminus image shows/hides the awardnomination div. That's working. I also want a click on the nominatelink to trigger a click on the image...since I've already got t

[jQuery] innerfade.next issue

2008-03-08 Thread jerpod
I'm working with innerfade and its great so far. I've got rotating images with numbered buttons in a strip at the bottom. The images rotate in and out via innerfade and if you click one of the numbered buttons, that image displays. So far so good. Now I want to set the "current" button to a se

[jQuery] Changing inline styles?

2008-01-11 Thread jerpod
I have to massage the output of a Microsoft Tree control in alternate browsers. In Firefox the tree output looks like this (simplifed and wrapped): //table definition and other non-essentials omitted  Athletics & Activities I'm trying to change the .. inline styles. The example above is

[jQuery] Re: Applying nextUntil only to h4 containing a link

2007-12-30 Thread jerpod
Thank you! I'm not able try this yet, but I assume it will work as expected. Jquery really makes a lot of complex things very simplewell, I guess, simple if you know what you're doing. I need to figure this out! Thanks again. jp On Dec 29, 8:56 pm, Dave Methvin <[EMAIL PROTECTED]> wrote:

[jQuery] Applying nextUntil only to h4 containing a link

2007-12-29 Thread jerpod
I'm using nextUntil to apply show/hide content functionality based on its "section", defined as having an h4 heading. This works great. Thanks, Richard D. Worth, for pointing me to the nextUntil samples) $.fn.nextUntil = function(expr) { var match = []; if ( expr.jquery ) expr = ex

[jQuery] How to identify the selected element with jquery?

2007-12-26 Thread jerpod
I suspect this is extraordinarily simple, but I've yet to find a way to do it so bear with me (very new to jquery). My mission is to allow a user to click on a link of css class "closed" (the content below that point in the DOM will be hidden). When that link is clicked the content will .show(),