更改<script language="javascript">
至<script type="text/javascript">
。檢查下面
type = content-type :
This attribute specifies the scripting language of the elements contents and overrides the default scripting language. The scripting language is specified as a content type (e.g., "text/javascript"). We have to supply a value for this attribute. There is no default value for this attribute.
language ="JavaScript" :
This attribute specifies the scripting language of the contents of this element. Its value is an identifier for the language, but since these identifiers are not standard, this attribute has been deprecated(outdated by newer constructs) in favor of type.
來源
2012-05-28 09:48:42
TRR
喲 - 你在裏面設置表的表? –
你想要......? – gsagrawal
[在jQuery中添加腳本標記]的可能重複(http://stackoverflow.com/questions/8538146/add-script-tag-in-jquery) – Quentin