Skip to main content

Bug Tracker

Side navigation

#13482 closed bug (duplicate)

Opened February 20, 2013 09:45AM UTC

Closed February 20, 2013 12:40PM UTC

Can't add data to an item that hasnt been added to the dom

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: data Version: git
Keywords: Cc:
Blocked by: Blocking:
Description

Given something like:

var option = $('<option/>');

For adding to a Select list, you can't do:

var option = $('<option/>').test('hello').val('world').data('additional-info', 123);

The output doesn't include the data.

Attachments (0)
Change History (1)

Changed February 20, 2013 12:40PM UTC by gibson042 comment:1

component: unfileddata
resolution: → duplicate
status: newclosed

Duplicate of #13130.