========================异步返回html代码

$(".course_right_div1 .ul1 li").click(function(){$(this).addClass("xuanzhong").siblings().removeClass("xuanzhong");var $subject= $(this).text();$.get("../ASHX/IsTiaojian.ashx",{sub:$subject,red:Math.random()},function(date){document.getElementById("tj").innerHTML=date;});});

========================使用live解决

$(".tiaojian .course_right_div2 ul li").live('click', function(){//alert('live方式');$(this).css({"border":"1px solid #2B8BE2","background":"#e9e9e9"});});