By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,466 Members | 1,132 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,466 IT Pros & Developers. It's quick & easy.

validation

P: n/a
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.
Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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 <formwith 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.
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.