PDA

View Full Version : XHTML validity for form data



Ekstasis
09-26-2005, 02:24 PM
I've used the 'Open in new window' JavaScript from DD. Many thanks!

I wanted the page to be XHTML 1.0 Transitional valid so I had to make the following changes:

<form name="targetmain" action="uri">
<input type="checkbox" name="targetnew" checked="checked"
onclick="applywindow(targetlinks)" />
open links in new window
</form>

(added: action="uri" and checked="checked")

[Thought I'd just share this in case it saves someone time. Sorry if this is a repost of an earlier comment.]

Ekstasis (http://www.ekstasis.net/)