Jump to content


Photo

ajax data in the source


  • Please log in to reply
3 replies to this topic

#1 jcombs_31

jcombs_31
  • Staff Alumni
  • Advanced Member
  • 2,066 posts
  • LocationFL

Posted 05 August 2006 - 12:12 PM

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.

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 06 August 2006 - 05:08 PM

Please post you code so we can see what you're doing.

Ken

#3 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 06 August 2006 - 07:44 PM

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.

#4 jcombs_31

jcombs_31
  • Staff Alumni
  • Advanced Member
  • 2,066 posts
  • LocationFL

Posted 06 August 2006 - 08:40 PM

Thanks 448191




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users