Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > DISABLED

Reply
Thread Tools

DISABLED

 
 
Eustace
Guest
Posts: n/a
 
      02-24-2008
When checking my webpage with JSLint, I get this kind of error:

================
Problem at line 242 character 73: Expected '=' and instead saw '>'.

NAME="firstDayOfWeek" VALUE="" SIZE=2 MAXLENGTH=2 DISABLED></td>
================

But if I make it DISABLED=true to please JSLint, then the W3C Markup
Validation Service finds it wrong and prefers it the other way. Is there
any way acceptable to both JSLint and to the W3C Valicator?

Thanks,

Eustace

--
Date Calculator with all-purpose JS code
http://www.geocities.com/emfrilingos/js/datecalc.html
 
Reply With Quote
 
 
 
 
Martin Honnen
Guest
Posts: n/a
 
      02-24-2008
Eustace wrote:
> When checking my webpage with JSLint, I get this kind of error:
>
> ================
> Problem at line 242 character 73: Expected '=' and instead saw '>'.
>
> NAME="firstDayOfWeek" VALUE="" SIZE=2 MAXLENGTH=2 DISABLED></td>
> ================
>
> But if I make it DISABLED=true to please JSLint, then the W3C Markup
> Validation Service finds it wrong and prefers it the other way. Is there
> any way acceptable to both JSLint and to the W3C Valicator?


You can use
DISABLED="DISABLED"
although with HTML 4 the short form
DISABLED
is fine.


--

Martin Honnen
http://JavaScript.FAQTs.com/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to disabled network Microsoft Wireless Networking 7 06-15-2005 06:41 AM
Wi-lan listed in availiable detected even with SSID broadcats disabled ?? Michel S. Wireless Networking 9 06-07-2005 03:12 PM
Disabled Working Wi-Fi? Patrick Page Wireless Networking 2 01-12-2005 02:08 AM
Intel Centrino 2200bg and disabled SSID broadcast Alex Wireless Networking 1 11-03-2004 10:45 PM
After XP SP2, Linksys wireless "unable to connect", disabled WZC =?Utf-8?B?Q2F0aA==?= Wireless Networking 1 10-01-2004 10:41 PM



Advertisments