Eg_1. Search for an id image set on the page and put it in the Code:
Copy codeThe Code is as follows:
<Div id = "cacheLayerContainer-CBS-882">
</Div>
Find the img whose id contains "CBS_1" and use $ ("img [id = ^ CBS_1]") to obtain
Copy codeThe Code is as follows:
Eg_2. For another example, find the div set of an id on the page and put the code:
Copy codeThe Code is as follows:
<Div id = "cacheLayerContainer-CBS-882">
<Div id = "div_1_0" style = "width: 256px; height: 256px">
<Div id = "div_1_0" style = "width: 256px; height: 256px">
<Div id = "div_2_0" style = "width: 256px; height: 256px">
<Div id = "div_2_0" style = "width: 256px; height: 256px">
<Div id = "div_2_0" style = "width: 256px; height: 256px">
<Div id = "div_3_0" style = "width: 256px; height: 256px">
</Div>
Find the div whose id contains "div_1" and use $ ("div [id = ^ div_1]") to obtain
Copy codeThe Code is as follows:
<Div id = "div_1_0" style = "width: 256px; height: 256px">
<Div id = "div_1_0" style = "width: 256px; height: 256px">
Ps: the statement is very simple, but it is very useful in browser development tools. This study studies the rows (or columns) of cached images (Read/out-of-range deletion in the new load/cache) in the map cacheLayer) query is very convenient.