Bug Tracker

Opened 17 years ago

Closed 16 years ago

#985 closed bug (wontfix)

MetaData not binding data to element correctly

Reported by: cdomigan Owned by: joern
Priority: major Milestone: 1.1.3
Component: plugin Version: 1.1.1
Keywords: metadata Cc:
Blocked by: Blocking:


Given this html <div id="myDiv" data="{foo:bar}" />, doing $("#myDiv")[0].foo should return bar. This is handy for doing searches like $("div[@foo=bar]"). Presently you need to do $("#myDiv")[0].data.foo to get bar.

Change History (5)

comment:1 Changed 17 years ago by aercolino

It could be changed to enhancement.

comment:2 Changed 17 years ago by cdomigan

The described functionality is documented in the plugin, but is not working in practice. Hence labeling it a bug.

comment:3 Changed 17 years ago by aercolino

You could use my Metaobjects plugin instead :-)

comment:4 Changed 16 years ago by joern

need: Review
Owner: changed from john to joern

comment:5 Changed 16 years ago by joern

Resolution: wontfix
Status: newclosed

The current metadata plugin forces you to call metadata() anyway...

Note: See TracTickets for help on using tickets.