E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic: | |
| |
|
Cedwin member Posts: 2 |
The e-junkie Add-to-Cart button code includes this: <script language="javascript" type="text/javascript"> but HTML 5 does not permit the attribute "language" in the <script> tag. The button still seems to function normally when I remove the language="javascript" attribute (that is, it seems to be working in the browsers I use to check code), but I'm wondering what, where (and if) I'm going to get bit removing this attribute? # POSTED ON: February 14, 2012 @ 12:15 GMT -7 MODIFIED ON: February 14, 2012 @ 12:29 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 4343 |
You can just delete the language="javascript" attribute; we included it for historical reasons to support some older browsers that only recognize language= instead of the newer type= attribute. However, even without the language="javascript" attribute, those browsers will typically assume javascript is the default language for any scripts in the page, as long as you don't use a META tag in the head that specifies a different default scripting language for the page. # POSTED ON: February 14, 2012 @ 12:49 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






