Bug Tracker

Modify

Ticket #4324 (closed feature: wontfix)

Opened 4 years ago

Last modified 15 months ago

No hasAttribute method.

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

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.

Change History

comment:1 Changed 3 years ago by dmethvin

  • Component changed from unfiled to attributes

comment:2 Changed 3 years ago by rwaldron

  • Status changed from new to closed
  • Resolution set to wontfix

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

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

Last edited 2 years ago by rwaldron (previous) (diff)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.