Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: CGI and JavaScript

by thabenksta (Pilgrim)
on Jun 01, 2001 at 23:47 UTC ( [id://85043]=note: print w/replies, xml ) Need Help??


in reply to CGI and JavaScript

I love javascript. I never turn it off, and I use it as much a I can. It adds many features to websites that nothing else can(except VBScript, etc.). It allows you to give your website a more friendly user interface, and automate a lot of tedious processes. I admit, it can be used in bad ways, and very annoying ways, but if you use it right it can be a great tool.

As far as form validation, the benefit of using JavaScript is that you don't have to submit the form, you can pop-up a alert window and the focus on the field that has the problem.

Now-a-days when almost all browsers support it, I couldn't see why you wouldn't want to reap it's benefits. And my opinion is, if you have javascript turned off, you're going to have trouble viewing most websites anyway.

I have never heard of any Security issues using javascript, so I wouldn't worry about that either.

-thabenksta
my $name = 'Ben Kittrell'; $name=~s/^(.+)\s(.).+$/\L$1$2/g; my $nick = 'tha' . $name . 'sta';

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://85043]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found