& lt/style & gt;& lt " />
Current location - Quotes Website - Personality signature - How does JQuery find all tags with the specified ID?
How does JQuery find all tags with the specified ID?
& lt! DOCTYPE? HTML & gt

& lthtml & gt

& lthead & gt

& ltmeta? charset = UTF-8 & gt;

< title > recursion ;

& lt style? type="text/css " >

& lt/style & gt;

& lt script? type="text/javascript "? src="jquery- 1.8.0.min.js " >& lt/script & gt;

& lt script? type = " text/JavaScript " & gt;

$? (function? ()

{

$? (“[id]”)。 Every one? (function? ()

{

Alert? (this . id);

})

})

& lt/script & gt;

& lt/head & gt;

& ltbody & gt

& ltdiv? id = " div " & gt& lt/div & gt;

& ltspan & gt& ltimg? id="img "? /& gt; & lt/span>。

& lt/body & gt;

& lt/html & gt;