Timeline for answer to Local id-s for HTML elements by tbraun89
Current License: CC BY-SA 4.0
Post Revisions
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 31, 2022 at 9:24 | history | edited | tbraun89 | CC BY-SA 4.0 |
updated examples, removed link to blog post
|
| Mar 31, 2022 at 9:18 | history | edited | tbraun89 | CC BY-SA 4.0 |
added 1 character in body
|
| Jun 16, 2015 at 18:31 | history | edited | tbraun89 | CC BY-SA 3.0 |
updated secound link to new version
|
| Nov 22, 2012 at 23:12 | vote | accept | C-F | ||
| Nov 22, 2012 at 21:10 | comment | added | tbraun89 |
But this works only with HTML5 data-* attributes, jquery metadata can be used without HTML 5.
|
|
| Nov 22, 2012 at 21:06 | comment | added | charlietfl |
@tbraun89 since jQuery created data() method, need to use metadata plugin is pretty much obsolete
|
|
| Nov 22, 2012 at 20:48 | comment | added | tbraun89 | I think then you have to use classes or ids, I don't know any other solution. If you need to add more data there is a jQuery Plugin: github.com/jquery/jquery-metadata but this also makes use of classes. | |
| Nov 22, 2012 at 20:42 | comment | added | C-F | Good idea, thank you! But it would be great to find some solution in bounds of HTML4 standard, if possible. If this don't appear, I will accept this answer. | |
| Nov 22, 2012 at 20:32 | history | answered | tbraun89 | CC BY-SA 3.0 |