摘要:
如需删除 HTML 元素,您必须首先获得该元素的父元素: 实例 亲自试一试 例子解释: 这个 HTML 文档含有拥有两个子节点(两个 <p> 元素)的 <div> 元素: 找到 id="div1" 的元素: 找到 id="p1" 的 <p> 元素: 从父元素中删除子元素: 提示:如果能够在不引用父元 阅读全文
posted @ 2018-07-05 19:15
旺旺liuyong
阅读(363)
评论(0)
推荐(0)
摘要:
<html><head><script type="text/javascript">function validate_email(field,alerttxt){with (field){apos=value.indexOf("@")dotpos=value.lastIndexOf(".")if 阅读全文
posted @ 2018-07-05 18:35
旺旺liuyong
阅读(797)
评论(0)
推荐(0)

浙公网安备 33010602011771号