像这样的插件适用于每个选择的下拉列表似乎很奇怪,但在我们的网站上却适用。我需要在某些选择下拉菜单中选择脚本,但需要在其他下拉菜单中将其禁用。我没有在此脚本上选择的电话,为什么要应用它?堆栈溢出不允许我添加整个脚本,但这是一个下拉列表
<select class="form-control" name="category">
<option value="" disabled selected hidden>Industry</option>
<option value="automobile">Automobile</option>
<option value="business services">Business Services</option>
<option value="child services">Child Services</option>
<option value="cleaning maintenance">Cleaning & Maintenance</option>
<option value="education">Education</option>
<option value="financial tax">Financial & Tax</option>
<option value="food">Food & Beverage</option>
<option value="franchise financing">Franchise Financing</option>
<option value="health beauty">Health & Beauty</option>
<option value="home services">Home Services</option>
<option value="real estate">Real Estate</option>
<option value="retail">Retail</option>
<option value="senior services">Senior Services</option>
<option value="Fitness sports">Fitness, Sports & Rec.</option>
<option value="services">Services</option>
<option value="travel recreation">Travel & Recreation</option>
</select>