data-todo-tasks>
I wanted to select all [data-todo-tasks] and select just one that have [data-category-id=x], how can I do that? I know that in jQuery there is a function that helps on doing this thing (https://api.jquery.com/filter/) but there's no similar in javascript.
in jQuery would be:
$('[data-todo-tasks]').filter('[data-category-id=x]')
ok found the solution, I can write datasets together like css classes
Обсуждают сегодня