Load XML or JSON files on local workstation


#1

Having difficulty in loading various samples in browsers Firefox or GoogleChrome on local computer. Commonly the method is product.load("…/common/test.xml or (json)). Can you assist please?
Version dhtmlxSuite v4.12 Pro evaluation. Not using web server or internet connection - local sample files only.
Thanks
Tony Wells


#2

You need to use a local web-server

When you are loading samples directly from a file system, Chrome and Firefox may block ajax data loading ( because of security reasons ).