Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Problems With Trying To Validate Ajax Called Html
sonesay
post Feb 12 2008, 05:00 AM
Post #1


|||[ n00b King ]|||
*********

Group: [HOSTED]
Posts: 595
Joined: 20-June 07
From: Auckland
Member No.: 45,102



I've been validating my site on http://validator.w3.org so far so good but what I'm interested in is validating my page that has been modified by Ajax requests. Viewing the source code afterwards wont show the new code in Firefox and its the same for other browsers I believe(yes I have tried and cant remember ever seeing the newly inserted HTML in the source code).

I'm certain my code is not going to be valid there because I've hacked away at getting it to work and its very long so there are bound to be mistakes hence the reason why I would want to validate it. Are there any methods for checking it beside the obvious copy and paste each section of the Ajax request responses in to the direct input textarea provided by W3. Its going to be very tedious this way and if thats the only way I do not think I will bother just yet. At-least it works right biggrin.gif and no one will ever see the source code unless they have the PHP files.
Go to the top of the page
 
+Quote Post
imbibe
post Feb 12 2008, 05:12 PM
Post #2


Member [Level 1]
****

Group: Members
Posts: 67
Joined: 25-June 06
From: Den
Member No.: 25,638



You can't see the manipulated code after AJAX calls as the browsers make changes to the Document Object Model and render the changes. I'm not sure but DOM viewers might help you. Free DOM viewers are available for both IE & Firefox.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Ie 7 Issue With Ajax(1)


 



- Lo-Fi Version Time is now: 16th May 2008 - 07:56 PM