append

English[??pend] US[??p?nd]

vt.Add; ????(??)

to

English[t?] US[tu,t?]

prep. ; ~? ??;

adv? ??? ?? ???;

jqueryappendTo() ??? ???

??: appendTo() ???? ??? ???? ??? ??? ?(?? ??)? ?????. ?: Append() ? AppendTo() ???? ??? ??? ?????. ???? ???? ???? ?? ?? ? ???? ???? ??append() ??? ???? ?????.

Syntax: $(content).appendTo(selector

Parameters:

???

  • <label id="4oqja"></label>
    <center id="4oqja"><optgroup id="4oqja"></optgroup></center>
  • Parameter Description
    content ??. ??? ???? ?????(HT ML ?? ?? ??).
    ?????.

    jqueryappendTo() ??? ?

    <html>
    <head>
    <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
      $("button").click(function(){
        $("<b> Hello World!</b>").appendTo("p");
      });
    });
    </script>
    </head>
    <body>
    <p>This is a paragraph.</p>
    <p>This is another paragraph.</p>
    <button>在每個(gè) p 元素的結(jié)尾添加內(nèi)容</button>
    </body>
    </html>
    ???? ?? ?

    ??? ????? ??? "???? ??" ??? ?????