Monday, January 29, 2007

Data from dojo.io.bind() in three browsers

I have a JSON format of data saved on my IIS server. When I access this using the
dojo.io.bind() the data gets displayed as follows in the three browsers (IE 7.0, FireFox2.0 and Opera 9.0):

[a]: Display with file accessed from a folder



Only IE 7.0 returned the data correctly.

[b]: Display when the file accessed from the intranet site(browsed on the IIS web site)



The writing to the browser was by
dojo.byId('x').innerHTML = data;

Both IE 7.0 and FireFox 2.0 returned the data correctly

No comments:

DMCA.com Protection Status