Sha256: a66f44d6f2ff9d0895cfca067d4e51382beec3738d9d6d7b14b386f49bc2f43a

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

CodeHeroes.Ajaxify = (function() {
  var bind = function() {
    $("form.ajaxify").live("submit", function(event) {
      alert("Sending an Ajax request based on an Ajaxified form!");
      event.preventDefault();
    });
  };
  
  return {
    init: function() {
      bind();
    }
  };
}());

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jzip-1.0.10 test/javascripts/assets/jzip/shared/code_heroes/ajaxify.js
jzip-1.0.9 test/javascripts/assets/jzip/shared/code_heroes/ajaxify.js
jzip-1.0.8 test/javascripts/assets/jzip/shared/code_heroes/ajaxify.js
jzip-1.0.7 test/javascripts/assets/jzip/shared/code_heroes/ajaxify.js