Re: [Rails] js .closest

2014-05-08 Thread Googlemail
Am 08.05.2014 um 06:31 schrieb Lauree Roberts : Hello Lauree. Tried this: > 2. Updating the select list with success function. > > In this case you will get the html response(which you can directly use for > appending to the container .oncalls_select). > Your $.ajax call will be updated as :

Re: [Rails] js .closest

2014-05-08 Thread Googlemail
Am 08.05.2014 um 06:31 schrieb Lauree Roberts : Hello Lauree.. thank you very much for your email which is greatly appreciated.. I will check that out. It looks good and understandable for me. Although I changed meanwhile to a different solution in terms of the selects: according to: http://ww

[Rails] js .closest

2014-05-06 Thread Werner
I have a script: $ -> $(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