Need Help to parse from this HTML



  • Please help, I need to parse all those innerHTML, I only need 1 var for all of those

    <div class="Bb">
    	<div class="Bb wordWrap">What is your mother's name?</div>
    	<div class="Bb wordWrap">Cindy</div>
    	<div class="Bb wordWrap">What is your nickname?</div>
    	<div class="Bb wordWrap">Bob</div>
    


  • Found solution !!
    CSS Selector: [class*='Bb wordWrap']
    Attribute: innerHTML

    Another question, can I use innerText instead of innerHTML ?


  • Admin

    Yes it's the same thing in this case


Log in to reply