Re: storing javascript variables

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62736
interpreted = N
texte = It might not work for you, but using AJAX will work just fine. I guess I need to show my WebDNA tweek for one of the AJAX samples. We're using AJAX -> WebDNA for some internal stuff, and it works fine. - jim On Aug 3, 2005, at 7:04 PM, Brian Fries wrote: > If by this you mean to run some JavaScript then use a value > generated there in some WebDNA code on the same page, then the > answer is no, not directly. > > The WebDNA code is processed on the server when the page is > requested, then the page is returned to the requesting browser, > then the browser processes the JavaScript, so your JavaScript can > clearly not directly affect your WebDNA. > > You can go the other way and have WebDNA do stuff that affects the > JavaScript, by generating all or part of the JavaScript code via > your WebDNA code. > > The only way I can think of to have the JavaScript affect your > WebDNA would be to have the JavaScript perform some calculation > then reload the page (or a different page) passing in the JS result > as URL parameters, which would then be processed by WebDNA on the > resulting page. > > - Brian > > On Aug 3, 2005, at 10:05 AM, Erol Guneri wrote: > > >> Hi, >> >> Is there anyway to store a JavaScript variable as a webdna variable? >> >> TIA >> >> Erol >> > > -- Brian Fries, BrainScan Software -- http:// > www.brainscansoftware.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 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:

    
  1. Re: storing javascript variables ( Jim Lanford 2005)
  2. Re: storing javascript variables ( Brian Fries 2005)
  3. storing javascript variables ( "Erol Guneri" 2005)
It might not work for you, but using AJAX will work just fine. I guess I need to show my WebDNA tweek for one of the AJAX samples. We're using AJAX -> WebDNA for some internal stuff, and it works fine. - jim On Aug 3, 2005, at 7:04 PM, Brian Fries wrote: > If by this you mean to run some JavaScript then use a value > generated there in some WebDNA code on the same page, then the > answer is no, not directly. > > The WebDNA code is processed on the server when the page is > requested, then the page is returned to the requesting browser, > then the browser processes the JavaScript, so your JavaScript can > clearly not directly affect your WebDNA. > > You can go the other way and have WebDNA do stuff that affects the > JavaScript, by generating all or part of the JavaScript code via > your WebDNA code. > > The only way I can think of to have the JavaScript affect your > WebDNA would be to have the JavaScript perform some calculation > then reload the page (or a different page) passing in the JS result > as URL parameters, which would then be processed by WebDNA on the > resulting page. > > - Brian > > On Aug 3, 2005, at 10:05 AM, Erol Guneri wrote: > > >> Hi, >> >> Is there anyway to store a JavaScript variable as a webdna variable? >> >> TIA >> >> Erol >> > > -- Brian Fries, BrainScan Software -- http:// > www.brainscansoftware.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 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/ Jim Lanford

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:

ListFiles and NT Email Sender (2000) Re:Help name our technology! (1997) Stopping bad HTML propagation ? (1997) Progress !! WAS: Trouble with formula.db (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Help! WebCat2 bug (1997) tcpconnect (1999) Time/date formatting %X doesn't work ... (1997) Re[3]: 2nd WebCatalog2 Feature Request (1996) multi-paragraph fields (1997) Help! WebCat2 bug (1997) Errata: WCS Newbie question (1997) Date Calulation (1997) Creating folders and deleting files (1997) ShipTotal Yet Again (1998) Using Plug-In while running 1.6.1 (1997) [WebDNA] Is a '.webdna' suffix better? (2008) Ordering Fraction (2000) Modifying order output (1997) database size? (1997)