The user hit the submit button, the "page" doesn't go to the server, but the form's "data"

Yes, I simply misspoke. I was writing my reply too hastily, I think.

The net sum of it all is that the client can't be told to popup a dialog, or do any of a number of things it "can" do, because it's not part of the http protocol.

Precisely. I suppose you've moved past the stage of wanting an actual working solution to your problem, to the stage of wishful hand-waving. Not that I think there's anything wrong with that. In fact, it's usually quite an entertaining activity to engage in. 8^)

it's also not unique to shortcomings of the http protocol

I don't necessarily view this as a "shortcoming" of the protocol. It was originally intended as a simple protocol for, erm, transferring hypertext. All this other stuff (that makes it useable for applications, though not necessarily perfectly suitable) was shoehorned in later. The fact that it doesn't work ideally in all cases should hardly be surprising.

As for a way to create more rich web application interfaces, you might want to look at XUL. It's a Gecko thing, which may be a problem for you, but even still it's pretty neat. Using it for a public-facing site may not be practical, but for internal use it just might be nice.


In reply to Re: Re: Re: Re: Re: "alert" or prompt box from perl cgi script by revdiablo
in thread "alert" or prompt box from perl cgi script by argv

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.