Re: AJAX with WebDNA

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66477
interpreted = N
texte = Cool. I'll look into that. As for the answer to "why", well, I didn't know how, that's why :) Thanks, -Dan On Thu, 23 Mar 2006 14:29:28 -0700 Marc Thompson wrote: > Why do that? Simply add an onClick action to fire a javascript that creates a log entry. > > //This part generates a log entry in access.log > //so we can track form submissions > //portalLogin is a 0K file in the same dir as this page > xmlhttp.open("GET", "portalLogin",true); > xmlhttp.onreadystatechange=function() { >  if (xmlhttp.readyState==4) { > x=xmlhttp.responseText; >  } > } > xmlhttp.send(null) > > Marc > > Dan Strong wrote: >> Are there any browsers/security setting that would freak out over a >> small iframe in a page? I ask because this morning I was thinking of >> doing this very thing to track clicks on a link... i.e. rather than send >> the person to an intermediary page that does the tracking (append a db), >> then redirect them to the actual link, like I am doing now, I would add >> a javascript "onclick" event handler to the link and do the updating in >> the iframe... is this a good method in any/everybody's opinion? How >> about compatibility? I know that many older browsers can't do iframes >> correctly... >> -Dan >> >> On Thu, 23 Mar 2006 16:13:58 -0300 >> Christophe Billiottet wrote: >> >>> To me, it is easier: no JS, you keep your code 100% WebDNA. For >>> instance, the small secondary page within the iFrame uses a >>> 'refresh', reads the database and report any update, without the main >>> page to reload. But you can do whatever you want using this technique. >>> >>> chris >>> >>> On Mar 23, 2006, at 15:53, Bess Ho wrote: >>> >>>> What are the advantages and disadvantages of using iframe? >>> >>> >>> >>> ------------------------------------------------------------- >>> 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/ >> > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Office of Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- > > ------------------------------------------------------------- > 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)
Cool. I'll look into that. As for the answer to "why", well, I didn't know how, that's why :) Thanks, -Dan On Thu, 23 Mar 2006 14:29:28 -0700 Marc Thompson wrote: > Why do that? Simply add an onClick action to fire a javascript that creates a log entry. > > //This part generates a log entry in access.log > //so we can track form submissions > //portalLogin is a 0K file in the same dir as this page > xmlhttp.open("GET", "portalLogin",true); > xmlhttp.onreadystatechange=function() { >  if (xmlhttp.readyState==4) { > x=xmlhttp.responseText; >  } > } > xmlhttp.send(null) > > Marc > > Dan Strong wrote: >> Are there any browsers/security setting that would freak out over a >> small iframe in a page? I ask because this morning I was thinking of >> doing this very thing to track clicks on a link... i.e. rather than send >> the person to an intermediary page that does the tracking (append a db), >> then redirect them to the actual link, like I am doing now, I would add >> a javascript "onclick" event handler to the link and do the updating in >> the iframe... is this a good method in any/everybody's opinion? How >> about compatibility? I know that many older browsers can't do iframes >> correctly... >> -Dan >> >> On Thu, 23 Mar 2006 16:13:58 -0300 >> Christophe Billiottet wrote: >> >>> To me, it is easier: no JS, you keep your code 100% WebDNA. For >>> instance, the small secondary page within the iFrame uses a >>> 'refresh', reads the database and report any update, without the main >>> page to reload. But you can do whatever you want using this technique. >>> >>> chris >>> >>> On Mar 23, 2006, at 15:53, Bess Ho wrote: >>> >>>> What are the advantages and disadvantages of using iframe? >>> >>> >>> >>> ------------------------------------------------------------- >>> 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/ >> > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Office of Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- > > ------------------------------------------------------------- > 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/ "Dan Strong"

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:

[Feature Request] Stronghold security variables that cannot beforce as formvariables (2000) Mac webcatalog3_0_5b11 more dead lock throws (1999) message board (2001) Webten + Webcat running smooth (1998) Ken's Data Manager (finally available I think ...) (2005) WebCatalog/Mac 2.1b2 New Features (1997) Keep away (1997) [WebDNA] fastcgi 7+ & [cart]? (2010) DON'T use old cart file! (1997) Search results templates (1996) Searching multiple Databases (1997) Re:2nd WebCatalog2 Feature Request (1996) my price won't move (1997) fckeditor in Browswer html editor (2005) Searchable list mail via wwebcat (1998) [WebDNA] New request for websites that currently run WebDNA (2009) using showpage and showcart commands (1996) PCS Frames (1997) the dreaded unitShipCost (2003) bug in [SendMail] (1997)