Jump to content

Archived

This topic is now archived and is closed to further replies.

jcombs_31

ajax data in the source

Recommended Posts

So am I doing something wrong, or do you not see anything that actually gets returned by ajax?  I see no data in the source for the returned innerHTML.

Share this post


Link to post
Share on other sites
Please post you code so we can see what you're doing.

Ken

Share this post


Link to post
Share on other sites
No, you NEVER see ANY javascript generated results. So that includes XmlHttpRequest results. It's simply because all browsers (as far as I know) show the HTML downloaded, not the current transformation.

Edit: To clarify for other readers; we're talking about the source-code viewing function of browsers... ;) Somebody might 've gotten confused.

I toyed around with XSLT a while ago, and found out that looking at the source code for XSLT webpages, you also only get the original requested file. In this case an xml file... I'ts a feature nobody's cared to develop yet I guess.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.