$('#bidding_project_list').html('<%= escape_javascript(render(:partial => 'homework_list', :locals => {:homework => @homework_list})) %>'); $("#project_id").val("请选择项目"); $("#bid_message").val("#{l(:label_bid_reason)} "); $("#put-bid-form").hide();