[thelist] Re: [CODE] XHTML and Javascript

Pierre Lemieux plemieux at neomedia.com
Fri Nov 15 12:35:00 CST 2002


> At 1:11 pm -0500 15/11/02, Pierre Lemieux wrote:
>> How can I insert Javascript events in elements (like onSubmit in a form
>> element) in an XTHML file without making it invalid (at least in the W3
>> validator)? How are we suppose to deal with those events in XHTML?
>
> Use alllowercase: onsubmit
>

I understand that all XHTML parameter must be lowercase to be valid, but
isn't JavaScript case sensitive?

I tested it in Mozilla 1.1 and it work properly but will it break in other
browsers?

--
<?xml version="1.0"?>
<signature>
   <nom>Pierre Lemieux</nom>
   <poste>Charge de projets</poste>
   <compagnie>Neomedia inc.</compagnie>
   <tel>418.687.4434</tel>
   <telec>418.687.1161</telec>
</signature>





More information about the thelist mailing list