[latex]Mae govannen![/latex]
Ich nehme an, den MIME-Type schicke ich als header voraus?
header("Content-Type: application/javascript");
Ja, das sollte funktionieren.
Damit jetzt niemand[1] application/javascript ins type-Attribut setzt:
<http://annevankesteren.nl/2006/05/javascript-mime-type>
<http://annevankesteren.nl/2005/02/javascript-mime-type>
<http://annevankesteren.nl/2003/08/the-mime-type-of-javascript>
[1]
Cü,
Kai
--
„It's 106 miles to Chicago, we got a full tank of gas, half a pack of cigarettes,
it's dark, and we're wearing sunglasses“. „Hit it!“
[Foren-Stylesheet](http://kaichen.in/selfhtml/#h_stylesheet) [Site](http://knrs.de/) [Selfzeugs](http://kaichen.in/selfhtml/)
SelfCode: sh:( fo:| ch:? rl:( br:< n4:( ie:{ mo:| va:) js:| de:> zu:) fl:( ss:| ls:?