[jQuery] Re: Need to reference an object enbedded in a $this

2008-11-19 Thread lwoods
2008 at 8:17 PM, George <[EMAIL PROTECTED]> wrote: > >> >> I meant all A links inside that the one that is in $(this) >> >> On Nov 19, 11:14 pm, George <[EMAIL PROTECTED]> wrote: >> > you can do >> > $('a', $(this)).c

[jQuery] Re: Need to reference an object enbedded in a $this

2008-11-19 Thread lwoods
(this)).css("color", "red"); > > But it will change all A links > > George > > On Nov 19, 7:18 pm, lwoods <[EMAIL PROTECTED]> wrote: >> I have an action function where I have $(this).  Now I need to change the >> css >> for a link ( )

[jQuery] Need to reference an object enbedded in a $this

2008-11-19 Thread lwoods
I have an action function where I have $(this). Now I need to change the css for a link ( ) that is inside the $(this) . How do I reference it? In my example, the $(this) references a and I want to change the text color in a that is within this . -- View this message in c

[jQuery] Newbe: Why can't I reference $('#...') in functions?

2008-07-02 Thread lwoods
Why can't I reference the DIV using the jQuery format? Here is the example (minus opening HTML):