I am trying to use Accordion Content script v1.7 from DynamicDrive.com on some pages. I have set up a test page to show the error messages. I have changed the doctype of the page several times, including the exact one they use on the sample/instruction page on DD, but no luck. It is also throwing an error of undefined var ddaccordion, which is defined in ddaccordion.js, which is the JS file that goes with sample page , which is located in the same directory.
Any help and ideas would be greatly appreciated. Thx.

I figured it out, the JS file was being corrupted by Wordpad. Lesson learned: Wordpad is not a good editor for JS files.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.