Yes that is correct. However it is not showing. I tried your examples but it did not work. Where does the code go? I currently have it outside the success function of .ajax but still inside the main document.ready function. Is that correct. If I add the code $('.wkguidetoday:first').show(); right after the $ ('.wkguidetoday').append(divdetails).hide(); code in the success function, all the divs show up. I just want the first one to show..all others hidden.
Thanks! --Marcus Cox On May 15, 11:11 am, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > Not sure if I am totally understanding, so bare with me. You want the first > on to sure of the divs with the class "wkguidetoday" correct? Then > something like (not tested and off the top of my head) > $('.wkguidetoday"[0]).show(); or $('.wkguidetoday:first").show(); or > $('wkguidetoday').lt(1).show(); > > If i misunderstood let me know. > > -- > Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery (English)" group. To post to this group, send email to jquery-en@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-en?hl=en -~----------~----~----~----~------~----~------~--~---