I have a several pages which has the same ul (unordered list) with the same content, bur differents links:
<ul class='actions'>
<li><a href='...'>1</a></li>
<li><a href='...'>2</a></li>
<li><a href='...'>3</a></li>
</ul>
The thing is that I made a jquery function wich according to some parameters will delete or not some of the li elments.
My question is, if I have the same ul with the same class ("actions") in different pages, how can I configure differents parameters in my function.
I guess that I can put some hidden field in the page and get the parameters from there, but I think it is not the best approach..
Do you guys have a better idea?
Thanks