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 Of Jesse Proudman Sent: Thursday, March 23, 2006 8:48 AM To: WebDNA Talk Subject: Re: AJAX with WebDNA Go get the prototype library I discussed. This code is a bit more =20 complex than it probably needs to be because I pulled it out of a =20 site I built where the whole thing operates using AJAX. I'm not sure =20 how well you know javascript and I'm slammed today so I don't have =20 more time to explain this script, but essentially this will call =20 using ajax a file called errorcheckpage.html in the root of your =20 site. errorcheckpage.html should return a 1 (with no whitespace =20 around it) if the serial number is bad, and return a 0, or nothing at =20 all if the serial number is fine.
Serial Number:
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:

    
  1. Re: AJAX with WebDNA - simple demo ( Jim Lanford 2006)
  2. Re: AJAX with WebDNA ( Terry Wilson 2006)
  3. Re: AJAX with WebDNA ( "Dan Strong" 2006)
  4. Re: AJAX with WebDNA ( Marc Thompson 2006)
  5. Re: AJAX with WebDNA ( Chris 2006)
  6. Re: AJAX with WebDNA ( "Dan Strong" 2006)
  7. Re: AJAX with WebDNA ( "Bess Ho" 2006)
  8. Re: AJAX with WebDNA ( Chris 2006)
  9. Re: AJAX with WebDNA ( Jesse Proudman 2006)
  10. Re: AJAX with WebDNA ( "Bess Ho" 2006)
  11. Re: AJAX with WebDNA ( Clint Davis 2006)
  12. Re: AJAX with WebDNA ( Jesse Proudman 2006)
  13. Re: AJAX with WebDNA ( Clint Davis 2006)
  14. Re: AJAX with WebDNA ( Jesse Proudman 2006)
  15. Re: AJAX with WebDNA ( Chris 2006)
  16. Re: AJAX with WebDNA ( Jesse Proudman 2006)
  17. Re: AJAX with WebDNA ( Donovan Brooke 2006)
  18. Re: AJAX with WebDNA ( Dale Lists 2006)
  19. AJAX with WebDNA ( Clint Davis 2006)
What are the advantages and disadvantages of using iframe? -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Jesse Proudman Sent: Thursday, March 23, 2006 8:48 AM To: WebDNA Talk Subject: Re: AJAX with WebDNA Go get the prototype library I discussed. This code is a bit more =20 complex than it probably needs to be because I pulled it out of a =20 site I built where the whole thing operates using AJAX. I'm not sure =20 how well you know javascript and I'm slammed today so I don't have =20 more time to explain this script, but essentially this will call =20 using ajax a file called errorcheckpage.html in the root of your =20 site. errorcheckpage.html should return a 1 (with no whitespace =20 around it) if the serial number is bad, and return a 0, or nothing at =20 all if the serial number is fine.
Serial Number:
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:

converted seed value? (1998) The USArea® Network web site ... (1997) Database Strategy - more... (1998) WebCat2b12 CGI Mac - [shownext] problem (1997) Page Breaks in Word (2003) WebCatalog can't find database (1997) Help!!!! (1997) shoppingcart reload qty (1997) Re1000001: Setting up shop (1997) add to cart within a page? (1997) Country & Ship-to address & other fields ? (1997) Archives (2001) WebCat2b13MacPlugIn - [include] (1997) emailer (1997) Automatically submitting form with web cat. (2001) Proper file locations (1997) completed orders database (1997) PCS Emailer's role ? (1997) Include an include file as raw webDNA (2002) Re2: frames & carts (1997)