One issue not addressed yet is compatability -- do you need JavaScript 1.0 compatability or is 1.2 acceptible?

This is an important issue because it significantly affects what you're able to do on the client side -- 1.2 added primitive regexp support (O'Reilly JavaScript guide, starting page 165) as well as more sophisticated array handling (O'Reilly JavaScript guid page 153) which would make your life much, much easier.

Generally speaking, JavaScript 1.0 support corresponds to 3.x browsers (Netscape, IE) and 1.2 was available in the 4.x browsers. Things get trickier when you look at other browsers -- AOL is running IE's engine, but the versions are off so AOL 3 had something like IE 2-level support. Similar issues arise for Opera, iCab, and so on. The key point is, you need to know your audience in order to know what you have to play with.

If you need 1.0 compatability you're going to have to do much more work on the server side unless you want to get into some pretty heavy JavaScript coding (which can bring you to new levels of frustration).

Hope this helps.


In reply to Re: Talk with Javascript by jreades
in thread Talk with Javascript by Anonymous Monk

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.