// JavaScript Document $(document).ready(function (){ var CarTypeSelect = $(".CarType").children("select"); var CarColorSelect = $(".CarColor").children("select"); var CarWheelSelect = $(".CarWheel").children("select");
//given SelectChanged time encoding of a drop-down box CarTypeSelect.change(function (){
//Get the value of the current drop-down box var CarTypeValue = $(this).val(); //When the content of the first drop-down box changes, the third drop-down box should be hidden CarWheelSelect.parent().hide();
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn