- From: Ali Colville <alistair.colville@c2software.com>
- Date: Thu, 30 Sep 2004 11:40:49 +0100
- To: <www-validator@w3.org>
Received on Thursday, 30 September 2004 10:41:39 UTC
I have the following code in one of my pages: function displayFindAddress() { d = document.getElementById("FindAddress"); d.innerHTML = d.innerHTML + " <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 + " <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