Question
How can I view what gets added by AJAX?
Hello. I'm making heavy use of the innerHTML = capacities of
the Document Object Model, and of the new AJAX abilities available
in CF8. But when my code has a bug, the error messages provided by
Internet Explorer are cryptic. That might be something one could
live with if only we knew what line the error occurs on. But
clicking 'View Source' and loading the result into a text editor
which tells you line numbers doesn't work for material added by
innerHTML = or by AJAX. All it shows you is your original page
before the material got added.
What to do?
Thanks for your help,
Peyton Todd
P.S. I know that Firefox provides much better information about errors, and on occasion this has been useful to me. But Firefox (a) doesn't recognize all the DOM functions I want to use; (b) has its own ideas about what the display should look like, messing up my crowded page; and (c) doesn't even recognize my use of AJAX , which works fine in Internet Explorer. I don't need to make these pages work in Firefox (and my client wouldn't pay for it) since this is in effect an INTRAnet, where the users will all be employees of the company although not physically located in its offices when the use this intranet.
What to do?
Thanks for your help,
Peyton Todd
P.S. I know that Firefox provides much better information about errors, and on occasion this has been useful to me. But Firefox (a) doesn't recognize all the DOM functions I want to use; (b) has its own ideas about what the display should look like, messing up my crowded page; and (c) doesn't even recognize my use of AJAX , which works fine in Internet Explorer. I don't need to make these pages work in Firefox (and my client wouldn't pay for it) since this is in effect an INTRAnet, where the users will all be employees of the company although not physically located in its offices when the use this intranet.