Hi guys this is my jQuery part that makes my menu for my pages.
function fetchmenus() {
$.getJSON(\'sys/classes/fetch.php?proccess=1\', function(status)
Nice solution Herman, though it can be reduced to something like this:
$('li a').contents().filter(function() {
return this.nodeType == 3;
}).text();
- Applehi Juice
Will return Apple Juice
Fiddle: http://jsfiddle.net/49sHa/1/