--- tags: Jquery, Javescript, Frontend --- # Html select選單設定'disabled' => 'true'無法submit解法 設定成'disabled' => 'true'代表不能更改,但在傳送表單時無法傳遞出去 可以使用Jquery解法,在表單submit時將disabled設成false ```javascript= jQuery(function ($) { $('form').bind('submit', function () { $(this).find(':input').prop('disabled', false); }); }); ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up