Re: AJAX with WebDNA
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66465
interpreted = N
texte = Go get the prototype library I discussed. This code is a bit more complex than it probably needs to be because I pulled it out of a site I built where the whole thing operates using AJAX. I'm not sure how well you know javascript and I'm slammed today so I don't have more time to explain this script, but essentially this will call using ajax a file called errorcheckpage.html in the root of your site. errorcheckpage.html should return a 1 (with no whitespace around it) if the serial number is bad, and return a 0, or nothing at all if the serial number is fine.
On Mar 23, 2006, at 8:34 AM, Clint Davis wrote:> And, what might those 5 lines look like?>>> On 3/23/06 10:25 AM, "Jesse Proudman"
wrote:>>> It really would take about 5 lines of code to do this with AJAX so>> I'm not sure the iFrame is the best solution...>>>>>> On Mar 23, 2006, at 8:24 AM, Christophe Billiottet wrote:>>>>> I would suggest a very simple trick that works extremely well: just>>> add an iFrame inside your page. The iFrame loads a tiny .dna page>>> with the message concerning the duplicate.>>>>>> This way, you will not have to reload the entire form to get the>>> requested information. Simplier, and as efficient as AJAX could be.>>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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:
Go get the prototype library I discussed. This code is a bit more complex than it probably needs to be because I pulled it out of a site I built where the whole thing operates using AJAX. I'm not sure how well you know javascript and I'm slammed today so I don't have more time to explain this script, but essentially this will call using ajax a file called errorcheckpage.html in the root of your site. errorcheckpage.html should return a 1 (with no whitespace around it) if the serial number is bad, and return a 0, or nothing at all if the serial number is fine.On Mar 23, 2006, at 8:34 AM, Clint Davis wrote:> And, what might those 5 lines look like?>>> On 3/23/06 10:25 AM, "Jesse Proudman" wrote:>>> It really would take about 5 lines of code to do this with AJAX so>> I'm not sure the iFrame is the best solution...>>>>>> On Mar 23, 2006, at 8:24 AM, Christophe Billiottet wrote:>>>>> I would suggest a very simple trick that works extremely well: just>>> add an iFrame inside your page. The iFrame loads a tiny .dna page>>> with the message concerning the duplicate.>>>>>> This way, you will not have to reload the entire form to get the>>> requested information. Simplier, and as efficient as AJAX could be.>>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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/
Jesse Proudman
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:
Emailer and encryption (1997)
I have observed and I am gone. (1998)
PCS Emailer's role ? (1997)
WebCatalog NT (1996)
Include vs. lookup? (1998)
Misc Stuff That Might Help (1997)
Search Question (2003)
Using EIMS instead of Emailer (1998)
f2 download problems (1997)
[Webcat 2]Next (1997)
service stop and restart (1997)
same bill to and ship to? (1998)
Hyperboard/bulletin board available (1998)
OK, here goes... (1997)
Tax Collection for Different Items (2003)
[OT] Need help writing a proposal (2004)
textarea inputs and returns (1999)
Creating 404 Not Found pages (1999)
Calendar (1997)
Problems appending to database (1997)