Re: AJAX with WebDNA
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66466
interpreted = N
texte = Thanks Jesse!On 3/23/06 10:48 AM, "Jesse Proudman"
wrote:> 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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks Jesse!On 3/23/06 10:48 AM, "Jesse Proudman" wrote:> 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 Web Archive of this list is at: http://webdna.smithmicro.com/
Clint Davis
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:
MATH PROBLEM (1997)
500 internal error? (2004)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
[url] (1997)
Is this possible, WebCat2.0 and checkboxes (1997)
Optional new-style syntax for WebCatalog 4.0 (2000)
RE:It just Does't add up!!! (1997)
Date stamp and purging (1998)
transferring values (1998)
Upgrade to 3.07 problems (2000)
Re:Searching for ALL / empty form field (1997)
Location of Browser Info.txt file (1997)
[WebDNA] [OT] potential cheap WebDNA server? (2009)
No luck with taxes (1997)
Running _every_ page through WebCat ? (1997)
Frames and WebCat (1997)
Getting total number of items ordered (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Plugin or CGI or both (1997)
WC 2.0 frames feature (1997)