I don't think javascript is necessary for the server to simply not emit the HTML tags that would denote the button. Straight Perl should be sufficient.

On the other hand, it's not the submit button that's the problem. As someone else points out, it's the refresh button provided by the browser itself that is at issue.

The solution is to disallow multiple distinct posts to an area by the same monk within a time window (something I'd like to see to prevent flooding), or to disallow root nodes from the same monk that have duplicate names (a solution I'd also like to see, since it makes for better searches when the list isn't populated by the same title over and over).

In any case, I don't think hiding submit is a good idea since often a post will be gummed up and require a quick fix. The lack of a submit button would make it hard to fix such an error.

In reply to (ichimunki) re x 3: Hide SUBMIT for 60 seconds after posting by ichimunki
in thread Hide SUBMIT for 60 seconds after posting by dragonchild

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.