Created
November 13, 2014 11:46
-
-
Save lukeclifton/bfaaa8cea70824f89c90 to your computer and use it in GitHub Desktop.
formsubmitter function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Template.customerCreate.rendered = function () { | |
$('.formsubmitter').click(function(e) { | |
e.preventDefault(); | |
var form = '#' + $(this).data('form-id'); | |
$(form).submit(); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
but yes agree with @richsilv, global rendered functions is still a need