Team:TU Delft/menu test

From 2010.igem.org

(Difference between revisions)
Line 11: Line 11:
</ul>
</ul>
<script type="text/javascript">
<script type="text/javascript">
-
$("#navlist > * > *").each (function() {
+
$("#navlist > *").each (function() {
   // load URL from link element
   // load URL from link element
-
   var url = $(this).attr("href");
+
   var url = $(this).get(0).text();// attr("href");
   alert(url);
   alert(url);

Revision as of 13:43, 4 June 2010