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 Harmston http://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