|
Posted by Jukka K. Korpela on 11/21/06 11:54
Scripsit chinese.central@googlemail.com:
> Thanks a lot for your reply.
Top posting (comprehensively quoting someone else's message below one's own)
normally indicates lack of comprehensive reading. Did you understand
_anything_ of what I wrote? It seems to me that you didn't.
> But for example, google, only 1 text field
> http://www.google.co.uk/search?hl=en&q=html&btnG=Search&meta=
> How does this general strategy work?
It works fine. Google is rather successful, you know.
> N.B. I want to do some validation and syntax checking before the
> stuffs appear on the URL, any trick to do that?
You've got it all backwards. Any checking you do before the URL construction
would take place in the _browser_, so it would be inherently and
unconditionally unreliable. You cannot, thank &Deity;, control what my
browser does. If you offer some JavaScript code that performs a preliminary
check, to save _my_ time, I might be persuaded to let my browser execute
JavaScript on your page. Just might. You still couldn't know whether I had
done that and whether the data has been checked when it reaches your server.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|