2014-09-23 37 views
0

根據文檔,角的形式應提交「ng提交」的類,但我沒有看到。在下面的鏈接jsfiddle中,您可以看到即使點擊了提交的按鈕,也不會應用該類。吳提交沒有被申請到形式

The docs

The jsfiddle

編輯:我包括一些代碼在這裏,即使它是沒有意義的,檢查出的jsfiddle以上。

//this is the code i have in the jsfiddle, check it out there. 
<form> 
    <button type="submit"> 
</form> 

我誤解了什麼?

+0

嘗試使用一個代碼段,這是堆棧溢出的新功能。 http://blog.stackoverflow.com/2014/09/introducing-runnable-javascript-css-and-html-code-snippets/ – sma 2014-09-23 13:34:16

+0

我需要包括一些庫,所以我不認爲一個片段將是理想的。 – Savanaly 2014-09-23 13:38:41

+0

您忘記了將鏈接添加到jsFiddle,它很難幫助 – cpoDesign 2014-09-23 13:39:21

回答