<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<link rel=Stylesheet type="text/css" media=all href=style.css>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Yep, that would have been useful info
wouldn’t it </span></font><font size=2 color=navy face=Wingdings><span
style='font-size:10.0pt;font-family:Wingdings;color:navy'>J</span></font><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'> my mistake.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It fails on this line</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>var str_title = title.firstChild.data; (error = Object Required)</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> javascript-bounces@LaTech.edu
[mailto:javascript-bounces@LaTech.edu] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Peter Brunone<br>
<b><span style='font-weight:bold'>Sent:</span></b> 20 July 2007 14:40<br>
<b><span style='font-weight:bold'>To:</span></b> javascript@LaTech.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> re: [Javascript]
dom/javascript question regarding Internet Explorer</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left:
36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi
Lee,<br>
<br>
In cases like this, I always ask "what part
doesn't work?" since the point of failure will usually help you (or us) to
isolate the difference between the browsers. Can you get a bit more data
on which line it is at which things go wrong? An error message would be
one way to identify this point; another would be a debugger (you can download
the IE Script Debugger from MS though it doesn't always help), and a third would
be the old-fashioned brute-force method of using alert, window.status, or
document.write to show what data you have so far.<br>
<br>
Cheers,<br>
<br>
Peter</span></font></p>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left:
36.0pt'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:
Tahoma;font-weight:bold'>From</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>: "Lee Bettridge"
<lbettridge@twowaytv.co.uk><br>
<b><span style='font-weight:bold'>Sent</span></b>: Friday, July 20, 2007 2:59
AM<br>
<b><span style='font-weight:bold'>To</span></b>: "[JavaScript List]"
<javascript@LaTech.edu><br>
<b><span style='font-weight:bold'>Subject</span></b>: [Javascript]
dom/javascript question regarding Internet Explorer</span></font><br>
<br>
<br>
I want to copy the contents of the tag in an html<br>
document and write this elsewhere in the doc when it loads.<br>
The following works in Firefox but not in ie, could anyone point out why<br>
and maybe suggest an alternative please.<br>
<br>
<br>
HTML<br>
<br>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</p>
<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left:
36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
<br>
<br>
<br>
<br>
<br>
JAVASCRIPT<br>
<br>
var title = document.getElementsByTagName("TITLE").item(0);<br>
var str_title = title.firstChild.data;<br>
<br>
var obj = document.getElementById("document_header");<br>
while(obj.hasChildNodes()) obj.removeChild(obj.childNodes[0]);<br>
obj.appendChild(document.createTextNode(str_title));<br>
________________________________________________________<br>
Two Way TV is the trading name of Two Way Media Ltd<br>
Company Number: 4904168<br>
_______________________________________________<br>
Javascript mailing list<br>
Javascript@LaTech.edu<br>
https://lists.LaTech.edu/mailman/listinfo/javascript</span></font></p>
</div>
<br><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
</HEAD>
<BODY>
<hr>
<pre>
Two Way Media Ltd t/a Two Way TV
Company Number: 4904168
</pre>
</BODY>
</HTML>
<br></body>
</html>