fork download
  1.  
  2. if($("#module-callback-form-mortgage")) {
  3. $("#module-callback-form-mortgage").submit(yaMetrikaForm('mortgage'));
  4. } else if($("#module-callback-form-registration")) {
  5. $("#module-callback-form-registration").submit(yaMetrikaForm('registration'));
  6. } else if($("#module-callback-form-help")) {
  7. $("#module-callback-form-help").submit(yaMetrikaForm('help'));
  8. }
  9.  
  10. function yaMetrikaForm(goal) {
  11. yaCounter22459081.reachGoal('goal-' + goal);
  12. }
  13.  
Runtime error #stdin #stdout #stderr 0.01s 106368KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog.js:2:0 ReferenceError: $ is not defined