nop, there are too get ; one that acts like the javascript index(i)
method:
http://docs.jquery.com/Core/get
 i am referring to that one, :first would not help me here.


On Apr 13, 12:57 am, Chuck Harmston <cpharms...@gmail.com> wrote:
> I'm not quite sure what you're trying to do here. The $.get() function is
> used to submit an HTTP GET request. See:
>
> http://docs.jquery.com/Ajax/jQuery.get
>
> Are you trying to return the first response? Try using $("div#photolinks
> img:first").
>
> Chuck Harmstonhttp://chuckharmston.com
>
> On Sun, Apr 12, 2009 at 5:41 PM, dongle <tetri...@gmail.com> wrote:
>
> > i am making this(it does not work) :
>
> > $(document).ready(function(){
>
> >  $("div#photolinks img").get(0).css("border","5px solid black;");
>
> > });
>
> > if i do this:
>
> > $(document).ready(function(){
>
> >  $("div#photolinks img").css("border","5px solid black;");
>
> > });
>
> > it does work, whats wrong?
> > thanks

Reply via email to