Home > Web Front-end > JS Tutorial > jquery traverses select elements (explanation with examples)_jquery

jquery traverses select elements (explanation with examples)_jquery

WBOY
Release: 2016-05-16 17:06:00
Original
1300 people have browsed it

This article provides a jquery traversal select tutorial code, which mainly uses the form of $("#<%=ddl_xreg_id.clientid%> option").each(function() { to traverse each once, so All selections are queried once

Copy code The code is as follows:



aaass