Interesting view about this from Douglas Crockford:

type="text/javascript"
This attribute is optional. Since Netscape 2, the default programming language in all browsers has been JavaScript. In XHTML, this attribute is required and unnecessary. In HTML, it is better to leave it out. The browser knows what to do.

source: http://javascript.crockford.com/script.html


--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Jul 14, 2009, at 7:01 PM, Brett Ritter wrote:


On Tue, Jul 14, 2009 at 6:37 PM, weepy<jonah...@gmail.com> wrote:

you don't define a type here making your page invalid
Are you referring to $().ready(function() { }) ?  You mean you'd

I believe he's referring to the script tag itself.  It should given a
type (e.g. "text/javascript")

--
Brett Ritter / SwiftOne
swift...@swiftone.org

Reply via email to