diff options
author | Mateja <mail@matejamaric.com> | 2020-11-08 20:17:01 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-08 20:17:01 +0100 |
commit | de0600b75c3eeff15352f58e2631f2e19da4b252 (patch) | |
tree | dde19872d13b29a946dde312b50a971bdde17643 /resources/js | |
parent | d5691453f708ff5a288daeec21a00a19e888ca40 (diff) | |
download | yota-laravel-de0600b75c3eeff15352f58e2631f2e19da4b252.tar.gz yota-laravel-de0600b75c3eeff15352f58e2631f2e19da4b252.zip |
Show special call description.
Diffstat (limited to 'resources/js')
-rw-r--r-- | resources/js/reserve.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/js/reserve.js b/resources/js/reserve.js new file mode 100644 index 0000000..7a20c37 --- /dev/null +++ b/resources/js/reserve.js @@ -0,0 +1,9 @@ +jQuery('select#special-call').change(setCallDesc); +jQuery(document).ready(setCallDesc); + +function setCallDesc() { + sign = jQuery('select#special-call').first().val(); + jQuery.get('/special-calls/show/' + sign, function (data, status) { + jQuery('div#call-desc').html(data); + }); +} |