fyi: (JavaScript) AJAX and WebDNA
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62738
interpreted = N
texte = Hi all, How do you have JavaScript put stuff into WebDNA?Its easy.This sample shows how to do a similar Google autosuggest.1) get this sample code listed in this articlehttp://www.webreference.com/programming/javascript/ncz/column3/3.html2) replace the suggestions.php with suggestions.tplsuggestions.tpl[search db=db/suggestions.db&bwSTATEdatarq=[userInput]&STATEsort=1][[founditems]"[state]" ,[/founditems][/search]]create suggestions.db (field name of state) with a list of states or whatever suggestion terms you want.This shows reading from db, to write do the same thing but have your template append or replace or...Enjoy- JimpsOriginal AJAX article:http://www.adaptivepath.com/publications/essays/archives/000385.phpppsGoogle maps is left as an exercise to the reader :-)-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- fyi: (JavaScript) AJAX and WebDNA ( Jim Lanford 2005)
|
Hi all, How do you have JavaScript put stuff into WebDNA?Its easy.This sample shows how to do a similar Google autosuggest.1) get this sample code listed in this articlehttp://www.webreference.com/programming/javascript/ncz/column3/3.html2) replace the suggestions.php with suggestions.tplsuggestions.tpl[search db=db/suggestions.db&bwSTATEdatarq=[userInput]&STATEsort=1][[founditems]"[state]" ,[/founditems][/search]]create suggestions.db (field name of state) with a list of states or whatever suggestion terms you want.This shows reading from db, to write do the same thing but have your template append or replace or...Enjoy- JimpsOriginal AJAX article:http://www.adaptivepath.com/publications/essays/archives/000385.phpppsGoogle maps is left as an exercise to the reader :-)-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Jim Lanford
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[OT] On a side note.. (2003)
NT version and O'reily's WebSite (1997)
WebDelivery downloads alias, not original ? (1997)
AddLineItem Problem (1997)
WebCatalog NT beta 18 problem (1997)
pop up building with summarize (1998)
RE: is sku a REQUIRED field on NT (1997)
Math (1997)
Only charge card when product shipped ? (1997)
Quit revisited (1997)
[OT][Fwd: Announcement] (2003)
Separate SSL Server (1997)
[subtotal] problems -- help? (1998)
One Hour Email (2002)
WebCatalog can't find database (1997)
[ShowCart] and GET vs. POST (1997)
Emailer help....! (1997)
PCS Frames (1997)
Web Catalog 2 demo (1997)
How to redirect based on price subtotal? (1998)