Re: different servers, different results with a file upload [message #175203 is a reply to message #175197] |
Mon, 22 August 2011 08:32 |
Gregor Kofler
Messages: 69 Registered: September 2010
Karma:
|
Member |
|
|
Am 2011-08-21 23:18, bill meinte:
> Another question: I write a lot of program fragments that are loaded
> via AJAX into a huge application. I obviously can't validate them by
> submitting them to the W3C markup validation service, does anyone have
> suggestions on how to validate the fragments ?
Write it properly in the first place. Generating valid markup is not
*that* difficult. Validating a fragment is futile anyway, since it lacks
information about document type, encoding, surrounding markup etc.
Besides, I suppose you are injecting your XHR delivered markup by
setting the innerHTML property, which is proprietary and on some
browsers laden with problems.
Both topics are better discussed in c.i.w.a.html and c.l.javascript
respectively.
Gregor
--
http://vxweb.net
|
|
|