function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dan1126Dan1126 

JavaScript Not Working in Communities?

Hello,

I'm building a Visualforce page with some JavaScript to build a content DataTable based off the following example:
http://www.verticalcoder.com/2014/11/21/datatables-in-visualforce-part-1/

This page works well and looks great in Salesforce, but when I try to open it in the community it looks like the JavaScript is not working. The page references the same public static resource file, so I'm not sure why this would work in Salesforce and not the community.

Any help would be greatly appreciated. 

Thanks!
Rahul SharmaRahul Sharma
Could you check your console for script errors, it would help in debugging!