Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery("input[type=\"submit\"]").each((index, elem) => {
- elem.onclick = function(e){
- if (!capacityCheck) {
- e.stopImmediatePropagation()
- e.preventDefault()
- alert("Please check the capactiy for selected dates")
- }
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement