VK wrote:
You still have nothing changed: still non-existing equals() method,
still non-existing text/JavaScript content type. Please post or link
the *current last modified* variant you are having problems with.
Please remove all ASP tags as irrelevant: it is indeed difficult to
sort out. The simpliest way is to open your page in the browser, View Page Source, copy'n'paste.
We are willing to help, but please help us either.
Sorry, getting a bit frustrated. Have of course changed the code,
will post link to fresh code as I do changes from now on.
http://html-channel.com/pastebin.php?id=5 is the current last mod
the javascript of the page only.
http://html-channel.com/pastebin.php?id=6 is with html/asp included.
As you see there are two javascripts, the first one nothing works in. :-)
Not even if I don't enter any values into the form. :-/
The second is the one that checks for too long words, which works like
a charm. (Starts on line 69)
I'm no js coder myself, and this is just tweaking code done for
me by a friend who is no longer here to help me. I do understand
what the purpose of the code is, and the piece of code that is to
reject viagra as a input is placed there by me. :-)
--
Torbjørn Pettersen