I have a difficulties writing a jQuery selector, that will select all elements, who have data
attributes starting with data-lang . Is it possible to write such a jQuery selector
I have a couple of elements like
- <p data-lang-bg="Bulgarian" data-lang-en="English" >Text</p>
- <p data-lang-bg="Other bulgarian text" data-lang-en="Other english text" >Text 2</p>
I have a difficulties writing a jQuery selector, that will select all elements, who have data
attributes starting with data-lang . Is it possible to write such a jQuery selector