anchor.diff:  <script type="text/javascript">
     $(document).ready(function(){
         $('.confirm-decorate-scheme').on('click',function(event){
  -      	if(confirm("确定选择该装修方案？")){
             event.preventDefault();
  -      	  var temporary_confirm=$(this);
  -      	  var $confirmid = $(this).prev().val();
  +      	  $temporary_confirm=$(this);
  +      	  $confirmid = $(this).prev().val();
  +      });
  +      $('.for-confirm').on('click',function(){
             $.post( "/decorate_schemes/confirm/"+$confirmid, function( data ) {
               $('.confirm-decorate-scheme').hide();
  -            $(temporary_confirm).next().append("已确认");
  +            $temporary_confirm.next().text("已确认");
             });
  -        }
         });
     });
   </script>
positive.code: <div class="row">
    <div class="col-md-12">
  
  
negative.code:     <% @decorate_schemes.each do |decorate_scheme| %>
          <div class="row">
            <h3 style="padding-left: 20px;"><%= decorate_scheme.name %>
              <input type="hidden" value="<%= decorate_scheme.id %>">
            	<% if decorate_scheme.confirm_status == "未确认" and @confirm_status_count == 0 %>
                <a class="btn btn-info confirm-decorate-scheme" role="button" href="#myModal3" data-toggle="modal">确认此方案</a>
                <span class="label label-success"></span>
              <% elsif decorate_scheme.confirm_status == "未确认" and @confirm_status_count != 0 %>
              
              <% else %>
  