HTML Form 中 disabled 的元件


HTML Form 中 disabled 的元件的值不會被送出去阿 XDDDDD

http://www.w3.org/TR/html401/interact/forms.html#h-17.12.1是這樣說的:

In this example, the INPUT element is disabled. Therefore, it cannot receive user input nor will its value be submitted with the form.

然後抱怨一下,不是這樣無聲無息地把 exception 吃掉吧,這樣 debug 很困難的……。


Leave a Reply

Your email address will not be published. Required fields are marked *