Re: [PHP] help, please, understanding my problem
[email protected] (tedd)
| Newsgroups | php.general |
|---|---|
| Message-ID | <p0624086bc7a87b26234d@[192.168.1.102]> |
At 5:32 PM +0000 2/22/10, Ashley Sheridan wrote: >On Mon, 2010-02-22 at 12:33 -0500, tedd wrote: > >> >>At 3:15 PM +0000 2/22/10, Ashley Sheridan wrote: >>>Also, your script tags need a type attribute: >>> >> ><script language="javascript" type="text/javascript"> >>> >> >>Actually, you only need this: >> >><script type="text/javascript"> >> >>The language attribute will throw an error in validation. >> >>Cheers, >> >>tedd >> > >Never thrown an error for me! I guess it depends on what doctype you use? 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.com