You can use the iToolkit or a call to xmlservice to accomplish this.

More info:

Xmlservice can be invoked from javascript in the browser if you configure
the http portion (apache) of xmlservice.

On Dec 18, 2016 2:04 PM, "Booth Martin" <booth@xxxxxxxxxxxx> wrote:

Back to a simple web page... 2+ years ago I asked about stored procedures
and a simple web page. The last piece, for now, is calling a stored
procedure from javascript on a web page on the IFS.

The stored procedure creates a .json file on the ifs and the web page
reads and presents that .json data to the user. The last step for now is
to click a button on the web page and have it invoke the stored procedure
to refresh the .json file.

So far I have been able to stay within the confines of HTML, javascript,
and .css. I am looking to include a javascript function that invokes the
stored procedure?

This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 by 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.