Alert() does not beep in Chrome or Firefox. It does in Internet Explorer (IE), but our Windows/.NET team can't write apps that support IE (which means I can't rely on IE).
Thanks
-----Original Message-----
From: Matt Shea [mailto:matt.shea@xxxxxxxxxxxxx]
Sent: Thursday, August 29, 2019 4:06 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WEB400] Equivalent to 5250 error
Have you looked at using Javascript and the alert() command.
https://www.w3schools.com/jsref/met_win_alert.asp
Or any number of jQuery or Bootstrap methods to alert the user of errors/notifications.
https://craftpip.github.io/jquery-confirm/
https://getbootstrap.com/docs/4.0/components/alerts/
Good luck,
Matt
-----Original Message-----
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Justin Taylor
Sent: Thursday, August 29, 2019 1:54 PM
To: WEB400 (web400@xxxxxxxxxxxxxxxxxx) <web400@xxxxxxxxxxxxxxxxxx>
Subject: [WEB400] Equivalent to 5250 error
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
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.