|
Posted by Gordon Burditt on 09/24/07 23:13
>The problem is content of div is not hiding,so i wrote java script to
>hide every div then it is not working
>please help me
If you're doing credit card validation in Javascript, I hope you
are doing credit card validation on the server as well. Remember,
if you can do credit card validation in Javascript, someone else
can write javascript to generate random credit card numbers that
pass your check, and post them to YOUR page. Also, Javascript can
be Turned Off(tm).
The checks you are doing are good to catch most honest mistakes and
typos. They won't do well against a random card generator, which
will also know these rules.
If you expect the contents of "div" to hide because it's some kind of
secret, don't expect it to stay secret just because the browser doesn't
display it.
Navigation:
[Reply to this message]
|