[thelist] javascript link to popup window validation issue

Matt Warden mwarden at gmail.com
Sat Apr 7 11:32:02 CDT 2007

On 4/6/07, Joel D Canfield <joel at streamliine.com> wrote:
> I've been nasty sick for two weeks and just don't have the clarity to sort this out. Lack of validation on my newest site due to this nonsense.

Which part is not validating (I assume you mean (X)HTML validation)?
If it's the document.write stuff, have you tried simply removing the
doc.writes? I'm not sure why they are there in the first place, but I
assume you've simplified the script somewhat for explanation purposes.

Also, the links should really be something like this:

<a href="/g/IAmAWoman.asp" onclick="IAmAWoman(); return false;">...</a>

That way it works without javascript. (Really, you should assign
onclick on page load and not have it mixed in with the markup.)

Matt Warden
Cleveland, OH, USA

This email proudly and graciously contributes to entropy.

More information about the thelist mailing list