× 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.



Use AJAX. Create a net.data function to handle the query, and use
javascript to invoke it with the xmlhttp method.

Shalom Carmel
-------------------------
www.venera.com


----------------------------------------------------------------------

message: 1
date: Mon, 24 Jul 2006 12:45:19 -0400
from: "rick baird" <rick.baird@xxxxxxxxx>
subject: [WEB400] another net.data question

hey all,

I'm working on a simple form for transaction input where I need to
verify several different items entered, most of which I can do using
simple javascript functions on an "onblur" event, but one in which I
need to verify the field against a 400 db2 file.

I can do the verification via an SQL statement, but I'm having brain
lock on how to embed a net.data function in javascript function.

My goal is to verify the item and throw up an alert() before
submitting the form to the next %html block, and to not have it behave
differently than the javascript alert() edits.

any ideas would be greatly appreciated.

Thanks,

Rick


------------------------------

--
This is the Web Enabling the AS400 / iSeries (WEB400) digest list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



End of WEB400 Digest, Vol 4, Issue 199
**************************************


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.