Side navigation
#985 closed bug (wontfix)
Opened February 20, 2007 11:46PM UTC
Closed January 24, 2008 06:18PM UTC
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: |
Description
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.
Attachments (0)
Change History (5)
Changed February 22, 2007 06:15PM UTC by comment:1
Changed February 22, 2007 10:11PM UTC by comment:2
The described functionality is documented in the plugin, but is not working in practice. Hence labeling it a bug.
Changed February 23, 2007 11:55PM UTC by comment:3
You could use my Metaobjects plugin instead :-)
Changed June 20, 2007 10:00PM UTC by comment:4
need: | → Review |
---|---|
owner: | john → joern |
Changed January 24, 2008 06:18PM UTC by comment:5
resolution: | → wontfix |
---|---|
status: | new → closed |
The current metadata plugin forces you to call metadata() anyway...
It could be changed to enhancement.