It depends on who the site is intended for. Should a business oriented site rely on javascript? I think not.

With all the differences in implementation, Javascript isn't ready for deployment in commerce oriented sites.IMHO

Without getting into a drawn out discussion on web design, here are my personal thoughts for business oriented sites.
(I've posted well over 100K web pages now for whatever that's worth.)

Outside of clear navigation, etc... sites should be designed in successive layers.
i.e It works with Javascript,Java, Activex off. If you want to have mouseovers and image flips, etc, they should be designed in such a way as to not impair the functionality of the site without their use.

Javascript is great for pre-emptive form checking but most of the things that people do with it are indeed bells and whistles. Even when they are not, there is usually another alternative. (Plus it all breaks when version X of whatever browser get's released.)This might not be a problem if this is an intranet and IT controls what is installed.

I'd also recommend sticking with GIF and JPG.

(Fun fact: NT 4.x crashes unrecoverably when attempting to display certain PNG files.)

Modest use of javascript is fine but I think until there is a more uniform deployment, you would be remiss to rely on it heavily when there's money on the table.

For consistent behaviour, you can't beat server side.

Again this is all context, for some sites, requiring the latest greatest browser is not a problem. It all depends on whom your expecting to reach.

-Lee

"To be civilized is to deny one's nature."

In reply to Re: CGI and JavaScript by shotgunefx
in thread CGI and JavaScript by stuffy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.