[jQuery] Metadata parameter as selector
I am searching the web and documentation and still can't find a
working solution.
I have a table which rows has also id with metadata, for example <tr
data="{id:4}">
And now I want to select row with id 4. I was trying many ways but no
success for now. For example:
$.metadata.setType("attr", "data")
$("table tr.id:4").metadata().remove();
Anyway, is this possible with metadata at all? Thanks for any help.