Click here to Skip to main content
15,887,321 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have the following text


XML
<fieldset>
<ul id="ContentPlaceHolder2_1g" class="profList column ui-sortable">
<legend class="group">المجموعه 1</legend>
<li id="ContentPlaceHolder2_8">محمود حسن ابراهيم عبد الصمد</li>
</ul></fieldset>



<fieldset>
<ul id="ContentPlaceHolder2_2g" class="profList column ui-sortable">
<legend class="group">المجموعه 2</legend><
li id="ContentPlaceHolder2_9">محمود فتحى ابراهيم عبد الصمد</li>
<li id="ContentPlaceHolder2_10">احمد محسن احمد على</li>
<li class="" style="" id="ContentPlaceHolder2_3">احمد درويش محمود عباس</li>
</ul></fieldset>




<fieldset>
<ul id="ContentPlaceHolder2_3g" class="profList column ui-sortable">
<legend class="group">المجموعه 3</legend>
<li id="ContentPlaceHolder2_11">محمد سيد محمد سيد</li>
</ul>

</fieldset>





i want to loop through it to get every ul tag and il inside it inedd the all elemet in ul tag and every ul tag in array
Posted

1 solution

http://api.jquery.com/get/[^]

refer this site. your problem may solve
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900