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

jquery traverses select elements (explanation with examples)_jquery

WBOY
WBOYOriginal
2016-05-16 17:06:001327browse

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