html 部分代码:
[code]<div id="comment_list">
内容 xxxxxxxx
<a name="comments"/> //用于留言定位
</div>[/code]
使用prototype.js 中的 new Insertion.Bottom('comment_list', '留言内容');函数插入请求到的留言内容。
在ie中 就会抛异常。
去掉
[code]<a name="comments"/> //用于留言定位[/code] 就正常了,奇怪的ie
firefox中没问题。
[code]<div id="comment_list">
内容 xxxxxxxx
<a name="comments"/> //用于留言定位
</div>[/code]
使用prototype.js 中的 new Insertion.Bottom('comment_list', '留言内容');函数插入请求到的留言内容。
在ie中 就会抛异常。
去掉
[code]<a name="comments"/> //用于留言定位[/code] 就正常了,奇怪的ie
firefox中没问题。