08-14-2013, 04:40 PM
Hi, I have taken the outerhtml of a dropdown present on my webpage, which has 14 questions. now I need to split the questions and take the ubound of the array to count the no of questions present. so I think in the below outerhtml I would need to extract the string between > and ?. how to go about it?/ please help.
Code:
<ul><li role="option" class="x-boundlist-item"><div id="ext-gen1100" class="uw-combo-option">What is the first name of your oldest nephew?</div></li><li role="option" class="x-boundlist-item x-boundlist-selected"><div id="ext-gen1099" class="uw-combo-option">What is the first name of the best man at your wedding?</div></li><li role="option" class="x-boundlist-item"><div id="ext-gen1098" class="uw-combo-option">What was the first name of your first boyfriend/girlfriend?</div></li><li role="option" class="x-boundlist-item"><div id="ext-gen1091" class="uw-combo-option">What was the first name of your first manager? (Enter full name of only)?</div></li></ul>