HighDots Forums  

validation

Javascript JavaScript language (comp.lang.javascript)


Discuss validation in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jean Pierre Daviau
 
Posts: n/a

Default validation - 06-15-2008 , 10:59 AM






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.



Reply With Quote
  #2  
Old   
Álvaro G. Vicario
 
Posts: n/a

Default Re: validation - 06-16-2008 , 03:02 AM






Jean Pierre Daviau escribió:
Quote:
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.


--
-- 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
--


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.