有时候,我们可能不会在网页中 <P><div class="codetitle"><span><a style="CURSOR: pointer" data="74781" class="copybut" id="copybut74781" onclick="doCopy('code74781')"><U>复制代码 代码如下:<div class="codebody" id="code74781"><BR><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <BR><html xmlns="http://www.w3.org/1999/xhtml" > <BR><head> <BR> <title>动态加载Jquery库,不用创建Ajax请求。在 a 的 href 属性中写一段或多段代码 <BR> <style type="text/css"> <BR> #message { margin: 20px 10px; color:Green; } <BR> <BR> <script language="javascript" type="text/javascript"> <BR> function AjaxLoadJquerylibrary() <BR> { <BR> var d = document, s = d.getElementById('firebug-lite'); <BR> if (s != null) <BR> return; <BR> s = d.createElement('script'); <BR> s.type = 'text/javascript'; <BR> s.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js'; <BR> d.body.appendChild(s); <BR> document.getElementById("content").style.display = "block"; <BR> } <BR> 请输入您的名字: Jquery获取名字