Reply to Re: text/javascript

Your name:

Reply:


Posted by John Dunlop on 06/30/05 10:44

Michael Winter wrote:

> Using a type other than text/javascript is likely to leave a script
> unexecuted, so the introduction of application/javascript (and others)
> won't mean anything for quite some time.

I can see one workaround - and that's just what it is, mind
you, a *workaround* - though it's far from ideal. Write a
custom DTD in which the <type> attribute of SCRIPT is
optional. Then you can send your javascript files with the
MIME type <application/javascript> and have them executed by
at least some browsers. Two points to note, however: (1) you
have to use external scripts (which is No Bad Thing, I hear
you say), and (2) you can't call your document HTML4.01.

--
Jock

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация