In a very few instances I can see how livequery could help. But I see very few 
reason's for it.
   
  Why add another plugin include to a page which for livequery is 36.91 kb? You 
could just easily right a small function or a few lines of code to handle the 
new objects that are added from js after a load.
   
  

Glen Lipka <[EMAIL PROTECTED]> wrote:
  Are the links being added after the fact?
Maybe post the page so we can see.  It's probably something simple.  You might 
need the LivejQuery plugin.  That is used for when objects are added via JS 
after the page loads.

Glen

  On Wed, Apr 23, 2008 at 8:14 AM, ripple <[EMAIL PROTECTED]> wrote:
    Why not loop through it? This is usually how I would do it.
   
   
  $(document).ready(function(){

            $('#UserSubPanel  a').each(function(i) {
   
                    $(this).addClass('sideLink');
});
   
   
   
  http://2whoa.com/dominate/  


vladv <[EMAIL PROTECTED]> wrote:

    
Thanks for your answer :)
I tried this also, but no luck...

What may be the problem?
I have another jQuery function in the same place, but it works just
fine....

can it be that nested div called in other way?

Thanks again

On Apr 23, 3:26 pm, "Giuliano Marcangelo"

  wrote:
> $(document).ready(function(){
>
> $('#UserSubPanel a').addClass('sideLink');
> });
>

> 2008/4/23 vladv :  
>
>
>
> > Selecting all the links in div..
> > I know it should be really simple, but for some reason I can't make it
> > work..
>
> > I work with asp.net and try to run something like this:
>
> > $(document).ready(function(){
>
> > $('#UserSubPanel > a').addClass('sideLink');
> > });
>
> > but it doesn't work. The links are LinkButtons but rendered as 

  > > Can someone please help me with this?
> > Thanks in advance.

  
  
  
---------------------------------
  Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.




       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Reply via email to