Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- var courseID=$("#course").val();
- console.log(courseID);
- $("#course").on("change", function () {
- courseID = $('#course').find(":selected").attr("value")
- $.ajax({
- method: "GET",
- data: {
- coursesId: courseID
- }
- }).done(function (response) {
- });
- console.log(courseID);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement