Advertisement
VladislavNechepaev

Untitled

Nov 3rd, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery("input[type=\"submit\"]").each((index, elem) => {
  2.         elem.onclick = function(e){
  3.           if (!capacityCheck) {
  4.             e.stopImmediatePropagation()
  5.             e.preventDefault()
  6.             alert("Please check the capactiy for selected dates")
  7.           }
  8.         }
  9.       })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement