validation

J

Jean Pierre Daviau

Hi to everyone,


<p><SCRIPT type="text/javascript"> document.write('<A
HREF="http://jigsaw.w3.org/css-validator/validator?uri=' + document.URL +
'">CSS validation</a>');</SCRIPT></p>

This is to automatically input a address for validation in my web pages I
create with ... notepad....
Test it here:
http://privee.jeanpierredaviau.com/xhtm.html


I would like to rewrite this script to validate files uploaded from my
desktop. Something like:

HREF="http://jigsaw.w3.org/css-validator/validator#validate_by_upload?file=C:\
Somebody is aware of that?

Thanks for your attention.


--
Jean Pierre Daviau

--
windows XP professionnel 2002 SP2
asus p4 s533/333/133

http://jeanpierredaviau.com

Aimons les étrangers; l'on vit avec eux les trois quart de notre vie.
 
Á

Álvaro G. Vicario

Jean Pierre Daviau escribió:
I would like to rewrite this script to validate files uploaded from my
desktop. Something like:

HREF="http://jigsaw.w3.org/css-validator/validator#validate_by_upload?file=C:\
Somebody is aware of that?

You can't upload a local file using JavaScript. Your only option is a
regular <form> with an <input type="file"> box and selecting the file
every time.

If you just want to validate your own local HTML I suggest you get the
Web Developer Toolbar for Firefox.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

strange TR behavior 2
changing the barckground image 2
document.images[0].X 6
HttpClient, CSS validation 4
javascript corrupted? 8
Unhelpful HTML validation 2
loading order 2
false popup not allowed? 5

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,151
Latest member
JaclynMarl
Top