I want to execute an on-change event . There is one drop down and one lock button so when i select name from that drop down it should lock an issue to that selected name .

```
<td>
   <% if issue_request.status == true %>
      <small class="btn btn-sm btn-success fa fa-check"></small>
   <% else %>
     <% if issue_request.issue_tracker_member_id == nil %>
        <%= select :issue_request,:issue_tracker_member_id,issue_tracker_member_role_wise(issue_request.issue_tracker_group.id),{prompt:"Select Member"},class: "form-control"%>
                          <%= link_to '',lock_request_issue_requests_path(issue_request),class: 'btn btn-sm btn-danger fa fa-lock',data: { confirm: 'Are you sure?' } %> 
                        <% else %>
                          <small class="label label-primary">Locked by <%= current_user.employee.try(:manual_employee_code) %></small>

                              <%= link_to '',unlock_request_issue_requests_path(issue_request),class: 'btn btn-sm btn-warning fa fa-unlock-alt',data: { confirm: 'Are you sure?' } %> | <%= link_to 'Solved',solved_request_issue_requests_path(issue_request),class: 'btn btn-sm btn-primary',data: { confirm: 'Are you sure?' } %>
                               <% end %> 
                        <% end %> 
                    </td>
                  <% end %>
              </tr>
            <% end %> 
          </tbody>
      </table>
    </div>
  </div>  

```