i'm trying to get the contents of the span fields "sector" & "coords" from this :
header crap snipped out.
<body style="background-image:url('http://www.pardus-lcn.org/assets/pardus/bgoutspace1.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px;">
<tr>
<td valign="top">
<table width="210" border="0" cellspacing="0" cellpadding="0" id="status"><tr><td><img src="http://www.pardus-lcn.org/assets/pardus/status.png" width="210" height="34" alt=""></td></tr><tr><td style="background-image:url('http://www.pardus-lcn.org/assets/pardus/panel.png');background-repeat:repeat-y;text-align:left;"><div style="margin:0 18px;"><table cellspacing='2' cellpadding='1' border='0' width='95%'>
<tr valign='middle'>
<td align='center'><b><span id='sector'>Fornacis</span></b> </td>
<td align='left'><span id='coords'>[1,23]</span> </td>
<--snipped->
i've tried this and a few different combinations
var tm = document.getElementById('sector').innerText ;
alert("tm:" + tm );
i've tried it w/out the .innertext, and with .innerhtml, and nothing.
i've not been able to pull that information out
what am i doing wrong here?