Re: AJAX with WebDNA
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66470
interpreted = N
texte = What are the advantages and disadvantages of using iframe?-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfJesse ProudmanSent: Thursday, March 23, 2006 8:48 AMTo: WebDNA TalkSubject: Re: AJAX with WebDNAGo get the prototype library I discussed. This code is a bit more =20complex than it probably needs to be because I pulled it out of a =20site I built where the whole thing operates using AJAX. I'm not sure =20how well you know javascript and I'm slammed today so I don't have =20more time to explain this script, but essentially this will call =20using ajax a file called errorcheckpage.html in the root of your =20site. errorcheckpage.html should return a 1 (with no whitespace =20around it) if the serial number is bad, and return a 0, or nothing at =20all 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/-------------------------------------------------------------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:
What are the advantages and disadvantages of using iframe?-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfJesse ProudmanSent: Thursday, March 23, 2006 8:48 AMTo: WebDNA TalkSubject: Re: AJAX with WebDNAGo get the prototype library I discussed. This code is a bit more =20complex than it probably needs to be because I pulled it out of a =20site I built where the whole thing operates using AJAX. I'm not sure =20how well you know javascript and I'm slammed today so I don't have =20more time to explain this script, but essentially this will call =20using ajax a file called errorcheckpage.html in the root of your =20site. errorcheckpage.html should return a 1 (with no whitespace =20around it) if the serial number is bad, and return a 0, or nothing at =20all 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/-------------------------------------------------------------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/
"Bess Ho"
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:
Database Updates (1997)
listfiles shows invisible files ... (1999)
[WebDNA] Date: header on emails - timezone problem perhaps (2010)
WebCat2 - storing unformatted date data? (1997)
[WebDNA] mod_WebDNA_apache2.2.so: mach-0, but wrong architecture (2010)
[WebDNA] HTML [sendmail] revisited (2009)
PIXO (1997)
Help HTML reader (1999)
Secure server question (1997)
the dreaded unitShipCost (2003)
foreign languages, email, webcat (1998)
The USArea® Network web site ... (1997)
Sorting Round 2 plus (1998)
Error:Too many nested [xxx] contexts (1997)
Re:Hideif / Showif (1998)
docs for WebCatalog2 (1997)
[WebDNA] OT: Indexing PDF on iTools / apache2 (2008)
WebCat2b15MacPlugin - showing [math] (1997)
wc 2 pro users - sites, quotes wanted (1997)
search function (2005)