![](/img/trans.png)
[英]I have a button that redirects the another form I want that button value in the dropdown as a selected option in the next page form?
[英]I want to disable an option in a form depending upon the option I have selected above using javascript
首先尝试disabled=false
。 是布尔值,不是字符串
另外,您应该在第一个if语句中分开说明
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.