Click here to Skip to main content
15,885,278 members
Articles / Web Development / HTML

AJAX Demystified - Part Four - The AJAX AutoSuggest Text Box

Rate me:
Please Sign up or sign in to vote.
4.64/5 (11 votes)
21 Sep 2007CPOL7 min read 46.8K   326   44  
Create an AJAX-based auto suggesting textbox or textarea with no database or server-side scripting needed.
LED's,LEDs,LaTeX,LaTeX's,Lagrangian,Lagrangian's,Lamport,Lamport's,Latin,Latin's,Laurie,Laurie's,Lenten,Liz,Liz's,Lyle,Lyle's,lab,lab's,label,label's,labels,laboratories,laboratory,laboratory's,labs,labyrinth,labyrinths,lace,laced,lacer,lacerate,lacerated,lacerates,lacerating,laceration,lacerations,lacerative,laces,lacing,lack,lackadaisical,lackadaisically,lacked,lacker,lacking,lacks,lacquer,lacquered,lacquerer,lacquerers,lacquering,lacquers,lad,ladder,ladders,laded,laden,ladened,ladening,ladies,lading,lads,lady,lady's,lag,lager,lagers,lagged,lagoon,lagoon's,lagoons,lags,laid,lain,lair,lair's,lairs,lake,lake's,laker,lakes,laking,lamb,lamb's,lambda,lambda's,lambdas,lamber,lambs,lame,lamed,lamely,lameness,lament,lamentable,lamentableness,lamentation,lamentation's,lamentations,lamented,lamenting,laments,lamer,lames,lamest,laminar,laming,lamp,lamp's,lamper,lamps,lance,lanced,lancer,lancers,lances,lancing,land,landed,lander,landers,landing,landings,landladies,landlady,landlady's,landlord,landlord's,landlords,landmark,landmark's,landmarks,landowner,landowner's,landowners,lands,landscape,landscaped,landscaper,landscapes,landscaping,lane,lane's,lanes,language,language's,languages,languid,languidly,languidness,languish,languished,languisher,languishes,languishing,languishingly,lantern,lantern's,lanterns,lap,lap's,lapel,lapel's,lapels,laps,lapse,lapsed,lapser,lapses,lapsing,lard,larded,larder,larding,lards,large,largely,largeness,larger,largest,lark,lark's,larker,larks,larva,larvae,larvas,laser,laser's,lasers,lash,lashed,lasher,lashes,lashing,lashings,lass,lass's,lasses,last,lasted,laster,lasting,lastingly,lastingness,lastly,lasts,latch,latched,latches,latching,late,lated,lately,latencies,latency,latency's,lateness,latent,latently,latents,later,lateral,laterally,latest,latex,latex's,latexes,lath,lather,lathered,latherer,lathering,lathes,lathing,latitude,latitude's,latitudes,latrine,latrine's,latrines,latter,latter's,latterly,lattice,lattice's,latticed,lattices,latticing,laugh,laughable,laughableness,laughably,laughed,laugher,laughers,laughing,laughingly,laughs,laughter,laughters,launch,launched,launcher,launchers,launches,launching,launchings,launder,laundered,launderer,laundering,launderings,launders,laundries,laundry,laurel,laurel's,laurels,lava,lavatories,lavatory,lavatory's,lavender,lavendered,lavendering,lavish,lavished,lavishing,lavishly,lavishness,law,law's,lawful,lawfully,lawfulness,lawless,lawlessly,lawlessness,lawn,lawn's,lawns,laws,lawsuit,lawsuit's,lawsuits,lawyer,lawyer's,lawyerly,lawyers,lay,layer,layered,layering,layers,laying,layman,laymen,layoffs,layout,layout's,layouts,lays,lazed,lazied,lazier,laziest,lazily,laziness,lazing,lazy,lazying,lead,leaded,leaden,leadenly,leadenness,leader,leader's,leaders,leadership,leadership's,leaderships,leading,leadings,leads,leaf,leafed,leafier,leafiest,leafing,leafless,leaflet,leaflet's,leaflets,leafs,leafy,league,leagued,leaguer,leaguers,leagues,leaguing,leak,leakage,leakage's,leakages,leaked,leaker,leaking,leaks,lean,leaned,leaner,leanest,leaning,leanings,leanly,leanness,leans,leap,leaped,leaper,leaping,leaps,leapt,learn,learned,learnedly,learnedness,learner,learners,learning,learnings,learns,lease,leased,leases,leash,leash's,leashes,leasing,least,leather,leathered,leathering,leathern,leathers,leave,leaved,leaven,leavened,leavening,leaver,leavers,leaves,leaving,leavings,lecture,lectured,lecturer,lecturers,lectures,lecturing,led,ledge,ledger,ledgers,ledges,lee,leech,leech's,leeches,leer,leered,leering,leers,lees,left,leftist,leftist's,leftists,leftmost,leftover,leftover's,leftovers,lefts,leftward,leftwards,leg,legacies,legacy,legacy's,legal,legalities,legality,legally,legals,legend,legend's,legendary,legends,legged,leggings,legibility,legible,legibly,legion,legion's,legions,legislate,legislated,legislates,legislating,legislation,legislations,legislative,legislatively,legislator,legislator's,legislators,legislature,legislature's,legislatures,legitimacy,legitimate,legitimated,legitimately,legitimates,legitimating,legitimation,legs,leisure,leisured,leisureliness,leisurely,lemma,lemma's,lemmas,lemon,lemon's,lemonade,lemons,lend,lender,lenders,lending,lends,length,lengthen,lengthened,lengthener,lengthening,lengthens,lengthier,lengthiness,lengthly,lengths,lengthwise,lengthy,leniency,lenient,leniently,lens,lens's,lensed,lenser,lensers,lenses,lensing,lensings,lent,lentil,lentil's,lentils,leopard,leopard's,leopards,leprosy,less,lessen,lessened,lessening,lessens,lesser,lesses,lessing,lesson,lesson's,lessoned,lessoning,lessons,lest,lester,let,let's,lets,letter,lettered,letterer,lettering,letters,letting,lettuce,levee,levee's,leveed,levees,level,levelly,levelness,levels,lever,lever's,leverage,leveraged,leverages,leveraging,levered,levering,levers,levied,levier,levies,levy,levying,lewd,lewdly,lewdness,lexical,lexically,lexicographic,lexicographical,lexicographically,lexicon,lexicon's,lexicons,liabilities,liability,liability's,liable,liableness,liaison,liaison's,liaisons,liar,liar's,liars,liberal,liberally,liberalness,liberals,liberate,liberated,liberates,liberating,liberation,liberator,liberator's,liberators,liberties,liberty,liberty's,libido,librarian,librarian's,librarians,libraries,library,library's,libretti,license,licensed,licensee,licensee's,licensees,licenser,licenses,licensing,lichen,lichen's,lichened,lichens,lick,licked,licker,licking,licks,lid,lid's,lids,lie,lied,lieder,liege,lien,lien's,liens,lier,lies,lieu,lieutenant,lieutenant's,lieutenants,life,life's,lifeless,lifelessly,lifelessness,lifelike,lifelikeness,lifelong,lifer,lifers,lifestyle,lifestyles,lifetime,lifetime's,lifetimes,lift,lifted,lifter,lifters,lifting,lifts,light,lighted,lighten,lightened,lightener,lightening,lightens,lighter,lighter's,lighters,lightest,lighthouse,lighthouse's,lighthouses,lighting,lightly,lightness,lightning,lightning's,lightninged,lightnings,lights,lightweight,lightweights,like,liked,likelier,likeliest,likelihood,likelihoods,likeliness,likely,liken,likened,likeness,likeness's,likenesses,likening,likens,liker,likes,likest,likewise,liking,likings,lilac,lilac's,lilacs,lilied,lilies,lily,lily's,limb,limbed,limber,limbered,limbering,limberly,limberness,limbers,limbs,lime,lime's,limed,limes,limestone,liming,limit,limitability,limitably,limitation,limitation's,limitations,limited,limitedly,limitedness,limiteds,limiter,limiters,limiting,limits,limp,limped,limper,limping,limply,limpness,limps,linden,line,line's,linear,linearities,linearity,linearly,lined,linen,linen's,linens,liner,liners,lines,linger,lingered,lingerer,lingering,lingeringly,lingers,linguist,linguist's,linguistic,linguistically,linguistics,linguists,lining,linings,link,linkage,linkage's,linkages,linked,linker,linkers,linking,linkings,links,linoleum,linseed,lint,linter,lints,lion,lion's,lioness,lioness's,lionesses,lions,lip,lip's,lips,lipstick,liquefied,liquefier,liquefiers,liquefies,liquefy,liquefying,liquid,liquid's,liquidation,liquidation's,liquidations,liquidity,liquidly,liquidness,liquids,liquor,liquor's,liquored,liquoring,liquors,lisp,lisp's,lisped,lisper,lisping,lisps,list,listed,listen,listened,listener,listeners,listening,listens,lister,listers,listing,listing's,listings,lists,lit,literacy,literal,literally,literalness,literals,literariness,literary,literate,literately,literateness,literation,literature,literature's,literatures,lithe,lithely,litheness,litigate,litigated,litigates,litigating,litigation,litigator,litter,littered,litterer,littering,litters,little,littleness,littler,littlest,livable,livableness,livably,live,lived,livelier,liveliest,livelihood,liveliness,lively,liven,livened,liveness,livening,liver,liveried,livers,livery,lives,livest,liveth,living,livingly,livingness,livings,lizard,lizard's,lizards,load,loaded,loader,loaders,loading,loadings,loads,loaf,loafed,loafer,loafers,loafing,loafs,loan,loaned,loaner,loaning,loans,loath,loathe,loathed,loather,loathes,loathing,loathly,loathness,loathsome,loathsomely,loathsomeness,loaves,lobbied,lobbies,lobby,lobbying,lobe,lobe's,lobed,lobes,lobster,lobster's,lobsters,local,localities,locality,locality's,locally,locals,locate,located,locater,locates,locating,location,locations,locative,locatives,locator,locator's,locators,loci,lock,locked,locker,lockers,locking,lockings,lockout,lockout's,lockouts,locks,lockup,lockup's,lockups,locomotion,locomotive,locomotive's,locomotively,locomotives,locus,locus's,locust,locust's,locusts,lodge,lodged,lodger,lodger's,lodgers,lodges,lodging,lodgings,loft,loft's,lofter,loftier,loftiness,lofts,lofty,log,log's,logarithm,logarithm's,logarithmically,logarithms,logged,logger,logger's,loggers,logging,logic,logic's,logical,logically,logicalness,logicals,logician,logician's,logicians,logics,login,logins,logistic,logistics,logout,logs,loin,loin's,loins,loiter,loitered,loiterer,loitering,loiters,lone,lonelier,loneliest,loneliness,lonely,loneness,loner,loners,lonesome,lonesomely,lonesomeness,long,longed,longer,longest,longing,longingly,longings,longitude,longitude's,longitudes,longly,longness,longs,longword,longword's,longwords,look,lookahead,looked,looker,lookers,looking,lookout,lookouts,looks,lookup,lookup's,lookups,loom,loomed,looming,looms,loon,loop,looped,looper,loophole,loophole's,loopholed,loopholes,loopholing,looping,loops,loose,loosed,loosely,loosen,loosened,loosener,looseness,loosening,loosens,looser,looses,loosest,loosing,loot,looted,looter,looting,loots,lord,lord's,lording,lordlier,lordliness,lordly,lords,lordship,lore,lorries,lorry,lose,loser,losers,loses,losing,losings,loss,loss's,losses,lossier,lossiest,lossy,lost,lostness,lot,lot's,lots,lotteries,lottery,lotus,loud,louden,loudened,loudening,louder,loudest,loudly,loudness,loudspeaker,loudspeaker's,loudspeakers,lounge,lounged,lounger,loungers,lounges,lounging,lousier,lousiness,lousy,lovable,lovableness,lovably,love,love's,loved,lovelier,lovelies,loveliest,loveliness,lovely,lover,lover's,lovering,loverly,lovers,loves,loving,lovingly,lovingness,low,lower,lowered,lowering,lowers,lowest,lowing,lowland,lowlander,lowlands,lowlier,lowliest,lowliness,lowly,lowness,lows,loyal,loyally,loyalties,loyalty,loyalty's,lubricant,lubricant's,lubricants,lubrication,luck,lucked,luckier,luckiest,luckily,luckiness,luckless,lucks,lucky,ludicrous,ludicrously,ludicrousness,luggage,lukewarm,lukewarmly,lukewarmness,lull,lullaby,lulled,lulls,lumber,lumbered,lumberer,lumbering,lumbers,luminous,luminously,luminousness,lump,lumped,lumpen,lumper,lumping,lumps,lunar,lunatic,lunatics,lunch,lunched,luncheon,luncheon's,luncheons,luncher,lunches,lunching,lung,lunged,lunger,lunging,lungs,lurch,lurched,lurcher,lurches,lurching,lure,lured,lurer,lures,luring,lurk,lurked,lurker,lurkers,lurking,lurks,luscious,lusciously,lusciousness,lust,lustier,lustily,lustiness,lusting,lustrous,lustrously,lustrousness,lusts,lusty,lute,lute's,luted,lutes,luting,luxuriant,luxuriantly,luxuries,luxurious,luxuriously,luxuriousness,luxury,luxury's,lying,lyingly,lyings,lymph,lynch,lynched,lyncher,lynches,lynx,lynx's,lynxes,lyre,lyre's,lyres,lyric,lyrics,

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) CentralReach
United States United States
I have worked professionally in IT since 2004, and as a software architect since 2008, specializing in user interface design and experience, something I am still extremely passionate about. In 2013 I moved into management, and since then I've held positions as Director of Product Development, Director of Engineering, and Practice Director.

Comments and Discussions