[Javascript] Javascript and FF

jm jm5379 at gmail.com
Sat Aug 29 12:04:35 CDT 2009


also, if you're coding to xhtml standards, all attribute values must be
enclosed in quotes, so

<script language = Javascript>

should be

<script language = "javascript">

though i'm not sure if language is one of the currently preferred
attributes.  i believe

<script type = "text/javascript">

is the currently preferred version, to be eventually replaced by

<script type = "application/javascript">

since javascript is not considered to actually be text




On Sat, Aug 29, 2009 at 10:22 AM, Nan Harbison <nan at nanharbison.com> wrote:

> Here is what the w3 validator says:
>
> ####################################################
> # Error  Line 23, Column 30: required attribute "TYPE" not specified
>
> <script language = JavaScript>
>
> The attribute given above is required for an element that you've used, but
> you have omitted it. For instance, in most HTML and XHTML document types
> the
> "type" attribute is required on the "script" element and the "alt"
> attribute
> is required for the "img" element.
>
> Typical values for type are type="text/css" for <style> and
> type="text/javascript" for <script>.
> ###############################################
>
> -----Original Message-----
> From: javascript-bounces at lists.evolt.org
> [mailto:javascript-bounces at lists.evolt.org] On Behalf Of Del Wegener
> Sent: Saturday, August 29, 2009 11:18 AM
> To: javascript at lists.evolt.org
> Subject: [Javascript] Javascript and FF
>
> Good Morning;
> I have a Javascript calculator
> http://www.edi-cp.com/products_a_series_at_estimator.php
> Which works as intended in IE and I believe it worked in earlier versions
> of
> FF.  However nothing happens when I use it in FF Version 3.5.2 nor with
> Version 3.0.11
>
> When I initially installed the calculator FF was probably at Version 2.xxx.
> I am sure it worked then.
>
> What has changed?
> What must I do to my JavaScript to make FF 3.5.2 play nicely?
> Thanks for any help.
> Del
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at lists.evolt.org
> http://lists.evolt.org/mailman/listinfo/javascript
>
> _______________________________________________
> Javascript mailing list
> Javascript at lists.evolt.org
> http://lists.evolt.org/mailman/listinfo/javascript
>



-- 
since this is a gmail account, please verify the mailing list is included in
the reply to addresses



More information about the Javascript mailing list