jquery:创建一个新的节点对象的好方法
HTML
<!DOCTYPE html><html><head><script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script><meta charset=utf-8 /><title>JsBin-在线js/css调试工具</title><!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--><style> article, aside, figure, footer, header, hgroup, menu, nav, section { display: block; }</style></head><body> <p id="hello">Hello OSTools</p></body></html>