Hi All,
I want a simple javascript to just get the text in HTML list. Example
below, I want to get 'Here is' text. I tried innerHTML with a list of
'Here is My item 1 My item 2'. That simple.
<UL>
<LI>Here is</LI>
<UL>
<LI>My item 1</LI>
<LI>My item 2</LI>
</UL>
</LI>
</UL>
Thanks,
I want a simple javascript to just get the text in HTML list. Example
below, I want to get 'Here is' text. I tried innerHTML with a list of
'Here is My item 1 My item 2'. That simple.
<UL>
<LI>Here is</LI>
<UL>
<LI>My item 1</LI>
<LI>My item 2</LI>
</UL>
</LI>
</UL>
Thanks,
Comment