Html Selection Script Between Two Droplists February 28, 2024 Post a Comment I have two droplist in html built using tag. Mercurio Solution 1: selectedIndex is 0-based. A simpler way to do things might be like this: <script language="javascript" type="text/javascript"> // <!CDATA[ function GetVal() { var LSelect1 = document.getElementById('List1'); var LSelect2 = document.getElementById('List2'); LSelect2.selectedIndex = LSelect1.selectedIndex; } // ]]> </script> Copy Share Post a Comment for "Html Selection Script Between Two Droplists"
Post a Comment for "Html Selection Script Between Two Droplists"