thank you ricardo,that was helpful.
On Apr 13, 6:42 am, Ricardo wrote:
> .get(0) returns a DOM element, not a jQuery object, so the .css method
> doesn't exist in it. Try this:
>
> $("div#photolinks img").eq(0).css("border","5px solid black;");
> or
> $("div#photolinks img:first").css("border","
.get(0) returns a DOM element, not a jQuery object, so the .css method
doesn't exist in it. Try this:
$("div#photolinks img").eq(0).css("border","5px solid black;");
or
$("div#photolinks img:first").css("border","5px solid black;");
On Apr 12, 8:03 pm, dongle wrote:
> nop, there are too get ;
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 wrote:
> I'm not quite sure what you're trying to do here. The $.get() function is
> used t
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
4 matches
Mail list logo