× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm afraid the beep is mandatory.

Thanks



-----Original Message-----
From: Booth Martin [mailto:booth@xxxxxxxxxxxx]
Sent: Thursday, August 29, 2019 4:29 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WEB400] Equivalent to 5250 error

JavaScript:

function errormessage(errmsg) {
    table = document.getElementById("eTable");
    row = table.insertRow(0);
    cell1 = row.insertCell(0);
    cell1.innerHTML = errmsg;
    document.getElementById("eTable").style.display = "inline-block"; }

function clearErrorPanels() {
    table = document.getElementById("eTable");
    var rowCount = eTable.rows.length;
    for (var i = 0; i < rowCount; i++) {
        eTable.deleteRow(0);
    }

html:

    <div>
        <table id="eTable"></table>
    </div>

css:

#eTable {
    margin: 15px;
    padding: 10px;
    background: #ffbbdd;
    border-color: #ff0080;
    border-radius: 10px;
    border-collapse: collapse;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0
        rgba(0, 0, 0, 0.19);
    border: 2px solid #0080ff;

}

This doesn't beep.

On 8/29/2019 3:53 PM, Justin Taylor wrote:
I've been given a requirement to have a web page that beeps and shows a message on an error, like 5250 can do. I haven't found a cross-browser way to accomplish this. Does anyone have any suggestions?

TIA


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.