Peter - I appreciate the detail.
I've got the autocomplete working (but with jquery 1.4.x) - will take another look at jquery ui (i found an example with the 1.4 vers).
I don't have the part working yet to take the selected record, and populate the other screen fields (mine is also name/address) in fact I'm stuck on it.

I am also getting pressure from users to make the screen image "not boring", and searching for a working demo app to show them that they can say "yes - that's what I want" - but it needs to be a form of data entry, not shopping cart click to select. Their data entry involves name,address, phone, & email (not in the database), plus comments, several $ amounts, and several dates.

Jim Franz

----- Original Message ----- From: "Peter Connell" <Peter.Connell@xxxxxxxxxxxxxxxxx>
To: "'Web Enabling the AS400 / iSeries'" <web400@xxxxxxxxxxxx>
Sent: Monday, December 27, 2010 4:56 PM
Subject: Re: [WEB400] standard ajax or jquery functions for browser data entry


Jim,

Like you, I also try to follow the same simple approach as our website is strictly for paid-up business subscribers.
I have also recently been looking for a good auto-complete implementation and have decided to adopt a newer version from jQuery via their recent jquery-ui-1.9m2 library.
Feedback seemed to indicate this is now a superior library for enrichment and the auto-complete is said to offer more flexibility.

My requirement was to enrich an existing address line input on a form while still retaining the familiar line of input boxes for street, suburb and city.
While there are examples around, it is often difficult to find one that fits your needs, caching in particular.
However, I have found sufficient code to put together a successful solution.
The street name field provides the user with an auto-complete list containing the complete addresses for those that start with the 1st 3 chars (or more) entered.
Selecting a full address from the list will automatically populate all the address input boxes without any further keystrokes.

Cheers, Peter


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Turner
Sent: Monday, 27 December 2010 11:04 a.m.
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] standard ajax or jquery functions for browser data entry

If you want good working examples of those sorts of things then it is probably best to pick a decent javascript library (like jQuery/Mootools/Glow/Dojo/ExtJS/Rico etc). Have a look at the examples and decide which one fits the bill for the sort of things you want to do. A colleague pointed me in the direction of jQuery a while ago and I have never been short of a plethora of examples of how to do all the things you would expect from a good rich UI....and of course the examples are well documented, they work and they are browser agnostic.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.