请教怎么取得 P 标签中的内容!!
chuym 2007-12-26 09:32:27 <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
<!--
function gettext(){
//请在这儿得到文档中p标签内的字符串
//请问这里怎么写才能得到hello world
}
//-->
</script>
</head>
<body onload="javascript:gettext()">
<p>hello world</p>
</body>
</html>