[thelist] (x)html 1.0 validation with javascript

Matt Tibbits imitesmod at nb.aibn.com
Tue Jun 22 14:30:30 CDT 2004

Hello everyone,


This being my first post to this list, I have what I hope is an easy


After playing with HTML and the like for the past few years, I have gotten
serious about webdesign over the past few months.  The fact that I have been
tasked to develop a website for my company might have something to do with


Anyway, I have completed my site and am validating my pages.  The problem I
am running into is that one page has links which open in a popup window
using javascript. The link is as follows : 


<a href="dimetech/2004-06-18.htm" onClick="return
popUp('dimetech/2004-06-18.htm', 'imageName',


Because onClick="return popup uses capital letters the page will not
validate as XHTML1.0 transitional.  If I use lowercase letters, the page
validates but the script no longer works.


Does anyone have a solution besides the good old standby, "forget about
validaton"?  Is there any way to validate and to have my script work?






Matthew Tibbits
IT Support Specialist [IM/IT Program] 
NB Easter Seal March of Dimes 
65 Brunswick St. 
Fredericton, NB,  E3B 1G5 
Phone: (506) 458-8739 Fax: (506) 457-2863 


More information about the thelist mailing list