|
Posted by Dennis de Wit on 09/01/06 11:28
Advo wrote:
> Dennis de Wit wrote:
>> David Quinton wrote:
>>> On 1 Sep 2006 03:59:30 -0700, "Advo" <max_mischief@hotmail.com> wrote:
>>>
>>>> Basically our new dedicated server doesnt support Javascript, but i
>>>> need to still be able to validate forms.
>>> Javascript is executed browser-side.
>>> I'm no expert, but I've never come across a *server* that prevents you
>>> from having javascript within your HTML.
>> I am an expert... and i have to agree :)
>>
>> Your server DOES support JS.
>
> of course lol..
>
> its been a long morning :p
>
> the problem must lie somewhere else..
>
>
> but, now ive got the two options, would you stick with JS?
>
I would check the values using JS first, and check again later with PHP.
As users can turn of JS, it's not save to rely on it.
On the other hand, warnings produced with JS, when used the right way,
are more user-friendly than HTML messages.
So... I'd use 'em both ;)
Dennis
Navigation:
[Reply to this message]
|