http://qs321.pair.com?node_id=929796


in reply to Re: Javascript: Display Logic or Business Logic?
in thread Javascript: Display Logic or Business Logic?

You could use CGI::Ex::Validate and write your validation once and have it available in perl and javascript.

my @a=qw(random brilliant braindead); print $a[rand(@a)];
  • Comment on Re^2: Javascript: Display Logic or Business Logic?