For the appending JavaScript problem use this:
var str="<script>alert('hello');";
str+="<";
str+="/script>";
$(this).parent('li').find('.moreInfo').append(str);
Otherwise a better option will be to wire-up li's click event:
$("ul#myList li").click(function(){
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "url to your content page",
data: "{}",//any data that you want to send to your page/service
dataType: "json",
success: function(msg) {
$(this).find('.moreInfo').append(msg);
}
});
});
Actually I don't know what language are you using. If you are using ASP.NET please read this blog by Dave.