- From: Peng Jian Xiang <citybjc@yahoo.com.tw>
- Date: Sat, 24 May 2003 20:22:24 +0800
- To: www-dom-ts-submission@w3.org
Received on Saturday, 24 May 2003 08:36:44 UTC
Write A DOM XPath test with Mozilla.
<script type="text/javascript">
function Go()
{
if(document.implementation.hasFeature("XPath","3.0"))
{
var result = document.evaluate("descendant::div",document,null,0,null);
alert(result.iterateNext());
}
else
{
alert("Not Support");
}
}
</script>
Received on Saturday, 24 May 2003 08:36:44 UTC