Re: Nesting WebDNA in JavaScript

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48618
interpreted = N
texte = Alan White wrote:>Hi > >Just a quick question as I play about with some code... Is it possible at >all to nest webdna in JavaScript? > Alan, Nesting WebDNA in JavaScript is possible but nesting JavaScript inside WebDNA (such as what you are doing below) is not.This is because WebDNA is processed at the webserver and JavaScript is processed at the users browser.Donovan> >I just tried the following example to see if I could pull out some values >into a dynamic menu:- > >[search db=admin/brand.db&neIDdatarq=find_all&THE_BRANDsort=1] > [founditems] >fw_menu_0.addMenuItem([THE_BRAND],location='brandindex.html?RA=[random][r >andom][random]&cart=[cart]&__brand=[ID]'); > /founditems] > [/search] > >I am now going to have a browse in the archives but thought make a quick >post. > >Thanks >Alan >------------------------------ >http://www.streethreds.com > > > -- -Donovan Brooke -Administrator of IT / -Assc. Art Director -Creative Services -Epsen Hillmer Graphics-402.829.0123 ------------------------------------------------------------- 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: Nesting WebDNA in JavaScript (Tim Robinson 2003)
  2. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  3. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  4. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  5. Re: Nesting WebDNA in JavaScript (Pedro Rivera 2003)
  6. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  7. Re: Nesting WebDNA in JavaScript (Donovan 2003)
  8. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  9. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  10. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  11. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  12. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  13. Re: Nesting WebDNA in JavaScript (Donovan 2003)
  14. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  15. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  16. Re: Nesting WebDNA in JavaScript (Donovan 2003)
  17. Re: Nesting WebDNA in JavaScript (Clint Davis 2003)
  18. Nesting WebDNA in JavaScript (Alan White 2003)
Alan White wrote:>Hi > >Just a quick question as I play about with some code... Is it possible at >all to nest webdna in JavaScript? > Alan, Nesting WebDNA in JavaScript is possible but nesting JavaScript inside WebDNA (such as what you are doing below) is not.This is because WebDNA is processed at the webserver and JavaScript is processed at the users browser.Donovan> >I just tried the following example to see if I could pull out some values >into a dynamic menu:- > >[search db=admin/brand.db&neIDdatarq=find_all&THE_BRANDsort=1] > [founditems] >fw_menu_0.addMenuItem([THE_BRAND],location='brandindex.html?RA=[random][r >andom][random]&cart=[cart]&__brand=[ID]'); > /founditems] > [/search] > >I am now going to have a browse in the archives but thought make a quick >post. > >Thanks >Alan >------------------------------ >http://www.streethreds.com > > > -- -Donovan Brooke -Administrator of IT / -Assc. Art Director -Creative Services -Epsen Hillmer Graphics-402.829.0123 ------------------------------------------------------------- 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/ Donovan

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:

ReplaceFoundItems (2006) Re2: Calculating multiple shipping... (1997) URGENT - CPU usage OSXS (2001) Re:no [search] with NT (1997) RE: Languages (1997) [WebDNA] Credit card processing (2012) Cart questions (1997) How to Display text in empty fields (1997) [include ...] behavior (1997) [WebDNA] JSONStore Levels (2020) Encyption mail was Suggestions for Topics ... (1998) Listserver problem (1997) Prevent multiple appends with Reload Button (1997) Show shoppingcart after remove last item (1997) Listfiles not listing mounted volume (2002) webcat2b12 CGI -- Date comparisons (1997) [OT] Linux -> Winderz (2005) Memory Parameters (1998) math with multiple [founditems] (1999) 2 questions (2000)