javascript Programming Glossary: current_segment
How to get next text element of iframe on click each time? http://stackoverflow.com/questions/14153160/how-to-get-next-text-element-of-iframe-on-click-each-time Here is my code function '#next' .click function var current_segment '#my_iframe' .contents .find .highlight if current segment has.. .find .highlight if current segment has children if current_segment .children .not '.traversed_already' .length 0 current_segment.. .children .not '.traversed_already' .length 0 current_segment .children .not '.traversed_already' .first .addClass 'highlight'..
|