如下:根據客戶意向篩選: <asp:DropDownList ID="droplist" runat="server"> <asp:ListItem Text="請選擇..." Value="0"></asp:ListItem> <asp:ListItem Text="確定繳費" Value="2"></asp:ListItem> <asp:ListItem Text="考慮一下" Value="1"></asp:ListItem> <asp:ListItem Text="沒意向" Value="-1"></asp:ListItem> </asp:DropDownList> <div name='traceitem' value='" + GetTraceStatus(row) + "' >我想通過 js 來控制dropdownlist 的選擇,例如選擇的是 確定繳費(Value="2"), 而 div 里的值value(GetTraceStatus(row))正好是 2 就顯示 不是 就隱藏。怎么實現 ? 多謝了
- 2 回答
- 0 關注
- 433 瀏覽
添加回答
舉報
0/150
提交
取消