search for: update_concalls

Displaying 1 result from an estimated 1 matches for "update_concalls".

2014 May 06
0
js .closest
...$ -> $(document).on 'change', ('.ops_select'), -> val = $(".ops_select option:selected").val() $.ajax '/projects/update_oncalls/', type: 'GET' dataType: 'script' data: {ops_group_id: val } which triggers a "update_concalls.js.coffee" file to replace a the value in a select-tag. $(".oncalls_select").empty().append("<%= escape_javascript(render(:partial => @oncalls)) %>") As I have multiple instances of ".ops_select" I want to bind it to the recent selected and update on...