jquery处理方法返回值然后赋值给相应id的标签


<script>

$.get(“http://xxx.com/index.php?m=xxxx”, function(result){

if(result){

html=’xxxx:’ + result;

}else{

html=’xxxx:8888′;

}

$(“#id”).html(html);

});

</script>

, , ,

发表评论

0 + 3 = ?