why to call alert() between xml parsing in javascript
Hello Dear
I am parsing my xml using below mention code.but i donot know should use alert("ffff")because if i donot use alert("ffff") it's throws an error "object required"
You can also try this code with own xmlfile in two ways
1. By putting comment before "alert("ffff")
2. By removing the comment "alert("ffff")
I am sure that if you will use the code with first method you will get the error.
<SCRIPT LANGUAGE="JavaScript">
function readXMLData()
{
var xmlDocumentObject, sessionNode, committeeNode1,
attendeesNode
var firstNameNode, lastNameNode, displayText
var attributes, statusSenator
Bookmarks