2015-08-19 74 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;