I have following html code
<div id="b_changetext" class="FL gL_13 PT15"> <span class="gr_15 uparw_pc"><strong>5.80</strong></span> (+2.28%)</div>
I wanted to extract content (+2.28%) Tried following code
foreach($html->find('div[n_changetext]') as $e){
echo $e->innertext . '<br>';
echo "wwwwww";
}
On running it does not enter the for loop . ( "wwwwww" is not displayed)
Can anyone please suggest a solution