I have created simple ajax component using javascript. When i use same code in .html file outside LiveSite it works , whereas inside LiveSite it gives me access denied.
I thought that its maybe because of cross domain but same is happening for
www.google.com. I am attaching both .component and .html files.