You need to select the a tag var path = $('a', this). Attr("href").
You need to select the a tag. Var path = $('a', this). Attr("href").
You need to select element: $(document). Ready(function(){ $("#menu ul li"). Click(function() { var path = $(this).
Find("a"). Attr("href"); alert (path); $. Get(path, function(data) { $("#texte").
Html(data); }); return false; }); }).
Because you're assigning the click-handler on the LI elements, not the A elements. This is correct: $("#menu a").
You are looking at the href of your list item (li). Change your code to the following: $("#menu ul li a"). Click(function() {.
You are trying to get the href attribute of the li element. You are probably looking for the href attribute on the a element instead. Use this selector instead: $("#menu ul li a") It can probably be reduced by removing either the ul or li from the selector as well.
The trouble is that $(this) references the element instead of it's link. You can fix this by using the following selector: var path = $("a", $(this)). Attr("href").
You have missed a tag. $("#menu ul li a").click.
Your JQuery is referencing the wrong element: Instead of referencing the UL Li element you need to reference the UL LI A element as shown below: $(document). Ready(function(){ $("#menu ul li **a**"). Click(function() { var path = $(this).
Attr("href"); alert (path); $. Get(path, function(data) { $("#texte"). Html(data); }); return false; }); }).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.