Blame view

frontend/web/js/events.js 385 Bytes
3e1029f0   Alexey Boroda   -Events pushing j...
1
  $(function() {
3093a95c   Alexey Boroda   -Form from page fix
2
      $(document).on('beforeSubmit', '.section-forms #contact-form', function(e) {
3e1029f0   Alexey Boroda   -Events pushing j...
3
4
5
6
7
8
9
10
11
12
13
          console.log('Form from page');
      });
  
      $(document).on('submit', '#callback #contact-form', function(e) {
          console.log('Call me maby');
      });
  
      $(document).on('submit', '#buy-form #contact-form', function(e) {
          console.log('Hello from buy form');
      });
  });