i want to select all ul tags with in a given div tag
eg.
so i want select only the ul tags in the javascript
cannot use id for ul tags because they are generating dynamically
and there are other ul tags out side this div tag
chathura bamunusinghe
eg.
Code:
<div id="a"> <ul> <li>asdad .....</li> <ul> <li>asdad .....</li> <li>asdad .....</li> <li>asdad .....</li> </ul> <ul> <li>asdad .....</li> <li>asdad .....</li> <li>asdad .....</li> </ul> </ul> </div>
cannot use id for ul tags because they are generating dynamically
and there are other ul tags out side this div tag
chathura bamunusinghe
Comment