Re: AJAX with WebDNA - simple demo
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66486
interpreted = N
texte = Yes, I've been using Ajax since Sept 05. Works with Explorer, Firefox, Safari etc. I posted this 2005/08/04 16:20:51 - still in the archives,.....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 orwhatever suggestion terms you want.This shows reading from db, to write do the same thing but have yourtemplate 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 :-)On Mar 23, 2006, at 10:37 AM, Clint Davis wrote:> Anyone using AJAX with WebDNA yet?>> I have a warranty registration form where I'd like to check the serial> number entered against my database to make sure it's not a > duplicate. Since> the form is quite large, I'd like to use AJAX so the user doesn't > fill out> the entire form before being told the serial number is a duplicate.>-------------------------------------------------------------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:
|
- Re: AJAX with WebDNA - simple demo ( Jim Lanford 2006)
|
Yes, I've been using Ajax since Sept 05. Works with Explorer, Firefox, Safari etc. I posted this 2005/08/04 16:20:51 - still in the archives,.....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 orwhatever suggestion terms you want.This shows reading from db, to write do the same thing but have yourtemplate 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 :-)On Mar 23, 2006, at 10:37 AM, Clint Davis wrote:> Anyone using AJAX with WebDNA yet?>> I have a warranty registration form where I'd like to check the serial> number entered against my database to make sure it's not a > duplicate. Since> the form is quite large, I'd like to use AJAX so the user doesn't > fill out> the entire form before being told the serial number is a duplicate.>-------------------------------------------------------------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:
Line Feed Character Appended (1998)
Installing on IIS 5.1 Windows XP Pro - Username/Password (2006)
Roundup function? (1997)
Tax Moratorium Expiring (2001)
Running _every_ page through WebCat ? (1997)
Chatroom (2000)
Micro-managing External Links (2006)
Searching Dates (2000)
[addlineitems] (1997)
webcat NT with [dos] command (1997)
WebMerchant & Online CC Auths (1999)
WebCatb15 Mac CGI -- [purchase] (1997)
WebDNA5 & XML (2003)
Calendar Program (2004)
faxing orders (2000)
[OT] Dedicated Image Uploader/Server [/OT] (2003)
Hosted on Cobalt Linux (2001)
WebCat2 several catalogs? (1997)
Shipping based on qty (1998)
ShipCost Data Base (1998)