find
?? [fa?nd]
v.????;????
n.
jquery find() ??? ???
??: find() ???? ?? ?? ???? ?? ? ??? ?? ??? ??? ???, jQuery ?? ?? ???? ??????.
??: ??.find(selector)
????:
???? | Description |
??? ?, ??? ?? ??? ??? ?? ?? ?? ??. |
DOM ?? ??? ???? jQuery ??? ?? ?? .find() ???? ???? DOM ???? ??? ??? ?? ??? ???? ???? ??? ? jQuery ??? ??? ? ????. . .find() ???? DOM ???? ? ?? ???? ????? ?? ???? .children() ???? ?????. .find() ???? ? ?? ??? ??? $() ??? ??? ???? ??? ??? ??? ???? ????? ????. ??? ???? ????? ????? ??????.
jquery find() ??? ?
<!DOCTYPE html> <html> <head> <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script> </head> <body> <p><span>Hello</span>, how are you?</p> <p>Me? I'm <span>good</span>.</p> <script> $("p").find("span").css('color','red'); </script> </body> </html>
??? ????? ??? "???? ??" ??? ?????