S
srinivas.aki
Hello Guys
This is the small script I have.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>News Maps</title>
<script type="text/javascript">
function getTags()
{
if(!document.all)
document.all = document.getElementsByTagName("*");
for(var i=0;i<document.all.length;i++)
{
document.write(document.all.tagName)
}
}
</script>
</head>
<body>
<div id='feedOutput'>
<br />
</div>
<form name="FeedForm" id="feedForm" method="GET" action="#">
<input type="text" width="1000" name="feedURL"
value="http://localhost/map.xml" size="50" />
<input type="button" value="Syndicate" onclick="getTags();" />
</form>
</body>
</html>
The above function is printing out only the html, head, body tags but
not <div> I was not sure why that happening. Any ideas why ??
Thanks in advance
saki
This is the small script I have.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>News Maps</title>
<script type="text/javascript">
function getTags()
{
if(!document.all)
document.all = document.getElementsByTagName("*");
for(var i=0;i<document.all.length;i++)
{
document.write(document.all.tagName)
}
}
</script>
</head>
<body>
<div id='feedOutput'>
<br />
</div>
<form name="FeedForm" id="feedForm" method="GET" action="#">
<input type="text" width="1000" name="feedURL"
value="http://localhost/map.xml" size="50" />
<input type="button" value="Syndicate" onclick="getTags();" />
</form>
</body>
</html>
The above function is printing out only the html, head, body tags but
not <div> I was not sure why that happening. Any ideas why ??
Thanks in advance
saki