| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Javascript in odd places (fails validation) | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Good ole document type does not allow element "script" here
There is an issue with the place that the javascript is being placed. Issue is in both the check_options.tpl and the customer_options.tpl file. How do you get around this failed validation? The customer_options.tpl file: Code:
__________________
Product: X-Cart Gold Current version: 4.0.14 Additional Mods: X-Affiliate |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
Javascript tags must go outside the table tags or inside the td tags to validate...nothing follows the table tag except tr or th......and use CDATA for check_options.tpl.
Code:
|
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||