Side navigation
Ticket #4798: test.html
File test.html, 0.6 KB (added by Catrope, June 21, 2009 06:02PM UTC)
Test case
<html>
<head>
<script type="text/javascript" src="http://localhost/t/extensions/UsabilityInitiative/Resources/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.toc:last * li').each(function() { alert(this.id); });
});
</script>
</head>
<body>
<table class="toc"><tbody><tr><td><ul>
<li id="one-A"></li>
<li id="two-A"></li>
<li id="three-A"></li>
</ul></td></tr></tbody></table>
<table class="toc"><tbody><tr><td><ul>
<li id="one-B"></li>
<li id="two-B"></li>
<li id="three-B"></li>
</ul></td></tr></tbody></table>
</body>
</html>
Download in other formats:
Original Format
File test.html, 0.6 KB (added by Catrope, June 21, 2009 06:02PM UTC)
Test case
<html>
<head>
<script type="text/javascript" src="http://localhost/t/extensions/UsabilityInitiative/Resources/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.toc:last * li').each(function() { alert(this.id); });
});
</script>
</head>
<body>
<table class="toc"><tbody><tr><td><ul>
<li id="one-A"></li>
<li id="two-A"></li>
<li id="three-A"></li>
</ul></td></tr></tbody></table>
<table class="toc"><tbody><tr><td><ul>
<li id="one-B"></li>
<li id="two-B"></li>
<li id="three-B"></li>
</ul></td></tr></tbody></table>
</body>
</html>