streamice

下面是网页视图代码:

        <tr>
                <th class="formTitle">
                    <label for="TaskType">
                        任务类型
                    </label>
                </th>
                <td class="formValue">
                    <select name="TaskType" id="TaskType" class="txtselect">
                        <option value="1">普通任务</option>
                        <option value="2">频点任务</option>
                    </select>
                </td>
            </tr>

以下是jquery代码:

$(function () {

    $(\'#TaskType\').change(function () {
        
        if ($(this).val() == "1") {
            $(".TaskHidden").hide();
        }
        else {           
            $(".TaskHidden").show();
        }

    });
   
}); 

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2021-11-17
  • 2022-12-23
  • 2021-11-27
  • 2021-12-10
  • 2022-12-23
  • 2021-07-27
猜你喜欢
  • 2021-12-10
  • 2022-02-18
  • 2022-01-10
  • 2021-11-14
相关资源
相似解决方案