Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var students = $("#capacity").val();
- var park =($("#park").val() != "none") ? $("#park").val() : null;
- var priority = $("#priority").is(':checked') ? 1: 0;
- var week = weekStatus;
- var day = $("#days").val();
- var period = $("#periods").val();
- var length = 1;
- var numRooms = $("#NumRoomsValidate").val();
- var moduleCode = $("#ModuleCode").val();
- var room0 = ($("#room0").val() === undefined || $("#room0").val() == "") ? null:$("#room0").val();
- var room1 = ($("#room1").val() === undefined || $("#room1").val() == "") ? null:$("#room1").val();
- var room2 = ($("#room2").val() === undefined || $("#room2").val() == "") ? null:$("#room2").val();
- var semester = $("#semester").val();
- var specialRequirements = calculate();
- var additionalRequests = $("#addR").val();
- var day = ($("#days").val() == "none") ? alert("A day must be chosen"):$("#days").val();
- var periods = $("#periods").val();
- var length = $("#length").val();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement