Bug Tracker

Modify

Ticket #6434 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Calling .data() on an empty set throws TypeError: Cannot call method 'split' of undefined

Reported by: rdworth Owned by:
Priority: Milestone: 1.4.3
Component: data Version: 1.4.2
Keywords: Cc:
Blocking: Blocked by:

Description

From  http://forum.jquery.com/topic/jquery-does-not-exist-data-throws-exception

If you call .data() on an empty set an error is thrown:

TypeError: Cannot call method 'split' of undefined

Change History

comment:2 Changed 3 years ago by dmethvin

  • need changed from Review to Commit

comment:3 Changed 3 years ago by john

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

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.