</A>

I have the following code in one of my pages:
 
function displayFindAddress()
{
            d = document.getElementById("FindAddress");
            d.innerHTML = d.innerHTML + "&nbsp;<a href='javascript://'
onclick='return PopUpAddress1()' title='this opens in a new window'>Find
My Address</a>";
}
 
Every time I try to validate it, it says the there is no open <a> tag
for the closing </a>.
 
However, when I change the function to (note the split string around
</a>):
 
function displayFindAddress()
{
            d = document.getElementById("FindAddress");
            d.innerHTML = d.innerHTML + "&nbsp;<a href='javascript://'
onclick='return PopUpAddress1()' title='this opens in a new window'>Find
My Address<" + "/a>";
}
 
The code still works and the validator is happy. Just thought I'd point
this out.
 
Regards,
 
Ali
 

Received on Thursday, 30 September 2004 10:41:39 UTC