Re: help, please, understanding my problem
| From: | tedd | Date: | Mon, 22 Feb 2010 18:30:11 +0000 |
| Subject: | Re: help, please, understanding my problem | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302256@lists.php.net to get a copy of this message | ||
At 5:32 PM +0000 2/22/10, Ashley Sheridan wrote:
On Mon, 2010-02-22 at 12:33 -0500, tedd wrote:I was trying to be discreet. The "language" attribute has been depreciated. If you use a "transitional" DOCTYPE, then it won't throw an error -- but the "language" attribute is outdated and some consider it poor coding practice to use depreciated attributes. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comAt 3:15 PM +0000 2/22/10, Ashley Sheridan wrote:<script language="javascript" type="text/javascript">Also, your script tags need a type attribute:Never thrown an error for me! I guess it depends on what doctype you use?Actually, you only need this: <script type="text/javascript"> The language attribute will throw an error in validation. Cheers, tedd