[whatwg] Suggested changes to Web Forms 2.0, 2004-07-01 working

Jim Ley wrote:
> On Fri, 9 Jul 2004 13:43:54 +0100, Jim Ley <jim.ley at gmail.com> wrote:
> Yes, that is my point, and that with WF2 you can't have formatting
> hints because it will confuse the users of WF2 clients.  Hence this
> does not degrade on legacy clients.

    Let's put this thing to bed.

=== With Javascript Enabled ===

<table>
   <tbody>
     <tr>
       <td valign="top">Date: </td>
       <td align="center">
         <input type="date" name="date1">
         <script><!--
         if (!(document.implementation &&
               document.implementation.hasFeature &&
               document.implementation.hasFeature('WebForms', '2.0')))
         {
           document.write('<br>');
           document.write('<small>(Format: MM/DD/YYYY)</small>');
         }
         --></script>
       </td>
     </tr>
   </tbody>
</table>

=== With Javascript Enabled ===

<label>Date: <input type="date" name="date1" value="MM/DD/YYYY"></label>

Received on Friday, 9 July 2004 06:28:45 UTC