Re: storing javascript variables

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62729
interpreted = N
texte = 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 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)
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 Web Archive of this list is at: http://webdna.smithmicro.com/ Brian Fries

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:

Date Calulation (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] Generating Excel File Via WebDNA (2010) What am I missing? (1998) Problems with [Applescript] (1997) [WebDNA] Use of MySQL with WebDNA (2010) WebCat & Liststar (1997) japanese characters (1997) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Re:Help name our technology! (1997) my price won't move (1997) Need relative path explanation (1997) PCS Frames (1997) WebCatalog for Postcards ? (1997) Date Bug (1998) Another webcatalog site!! (1997) WebDNA maxing out processor (2008) Help! (1996) [WebDNA] Cookie Enabled/Disabled (2013) Applescript error (1998)