Hi,
I am trying to retrieve CRM 2011 data using oDate/REST
My code works fine if I add it to the form_Load event as a javscript file
but when I place the same code as HTML resource file, it is not displaying any value after this 'JSON.parse(req.responseText).d'
if (req.readyState === 4) { --> fine
if (req.status === 200) { --> fine
var retrieved = JSON.parse(req.responseText).d;
alert(retrieved); won't fire
i have added js file as well
<script src="ClientGlobalContext.js.aspx"></script>
<script type="text/javascript" src="new_jquery1.4.1.min.js"></script>
<script type="text/javascript" src="new_json2.js"></script>
Any help is appreciated
Thanks