I'm not sure whether I should be doing this with jquery or php, but I have a html page with several divs of the same class, but different ids. ie:
<div class="something" id="furniture">contents</div>
<div class="something" id="lighting">contents</div>
<div class="something" id="homewares">contents</div>
What I'm looking at doing is creating a <ul>
generated by the ids of any div with the class "something".
Would I be best doing this using jquery? and how would I best go about creating a list/menu of these divs?
TIA.