Skip to main content

Bug Tracker

Side navigation

#4324 closed feature (wontfix)

Opened March 10, 2009 06:15PM UTC

Closed October 22, 2010 06:19PM UTC

Last modified March 14, 2012 01:55PM UTC

No hasAttribute method.

Reported by: MaxSchmeling Owned by:
Priority: trivial Milestone:
Component: attributes Version: 1.2.6
Keywords: attributes Cc:
Blocked by: Blocking:
Description

It would be nice to be able to check if an attribute exists by a method call rather than checking if the value is undefined.

Attachments (0)
Change History (2)

Changed June 12, 2010 01:36PM UTC by dmethvin comment:1

component: unfiledattributes

Changed October 22, 2010 06:19PM UTC by rwaldron comment:2

_comment0: .attr() already behaves such that it can be evaluated for existance. \ \ \ hhttp://jsfiddle.net/wVqvr/2/1300066233839645
resolution: → wontfix
status: newclosed

.attr() already behaves such that it can be evaluated for existance.

http://jsfiddle.net/rwaldron/wVqvr/4/