On Dec 17, 2:26 pm, Leeoniya <leeon...@gmail.com> wrote:
> attr('width') would get the computed
> width but attr('width', '5') sets the width attribute? there's too
> much room for ambiguity in my opinion.

Just to clarify, in the case of width the width() method would get
called in both cases.

So
  $o.attr('width') == $o.width()
and
  $o.attr('width',5) == $o.width(5)

Matt Kruse

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to