[SOLVED] change all data-item

[SOLVED] change all data-item

I have many tags with  data-item="value"  it can be span div input or fieldset .. any !

depending on a value let's say if  ($v == 1) 
 how can I addClass to all the tags with data-item="1" ?

thank you