jquery改变input里面的value

 attr是取值

$(function(){
    $('#main .in_box li').click(function(){
        var score = $(this).val();
    $("#score").val(score);
    })
})

 

posted @ 2015-09-04 11:00  Gleeeee  阅读(1431)  评论(0)    收藏  举报