2015-08-19 67 views

回答

0

,我從幾個參考答案的文檔下面..是正確的

HTML:

JS: Template.body.events({ "submit .new-task": function (event) { // Prevent default browser form submit event.preventDefault(); var message=event.target.newMessage.value;