<html><head><script type="text/javascript" src="/jquery/jquery.js"></script><script type="text/javascript">$(document).ready(function(){ $("button").click(function(){ $("body").append($("p").detach()); });});</script></head><body><p>This is a paragraph.</p><button>移动 p 元素</button></body></html>