Commit 3e1029f00c94ea71c29e7af1e1eb748884249fac
1 parent
ce23e2e1
-Events pushing js added
Showing
2 changed files
with
14 additions
and
1 deletions
Show diff stats
frontend/assets/AppAsset.php
| 1 | +$(function() { | |
| 2 | + $(document).on('submit', '.section-forms #contact-form', function(e) { | |
| 3 | + console.log('Form from page'); | |
| 4 | + }); | |
| 5 | + | |
| 6 | + $(document).on('submit', '#callback #contact-form', function(e) { | |
| 7 | + console.log('Call me maby'); | |
| 8 | + }); | |
| 9 | + | |
| 10 | + $(document).on('submit', '#buy-form #contact-form', function(e) { | |
| 11 | + console.log('Hello from buy form'); | |
| 12 | + }); | |
| 13 | +}); | |
| 0 | 14 | \ No newline at end of file | ... | ... |