Re: Javascript Stored in a Database

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53481
interpreted = N
texte = The easiest thing to do is to have a ";" at the end of each line of code. That way you can have a mile long code in one line and it will still work. That's JavaScript's rules. PR. On 10/17/03 3:35 PM, "WebDna @" wrote: > so you cannot just use the [input] when adding the javascript, then use > [convertchars] around it when you pull it out? > > > > ----- Original Message ----- > From: "Jesse Williams-Proudman" > To: "WebDNA Talk" > Sent: Friday, October 17, 2003 3:16 PM > Subject: Re: Javascript Stored in a Database > > >> On 10/17/03 11:09 AM, "WebDna @" wrote: >> >>> Why not store it in an include and call it with a variable from the DB? >>> >>> JS_FIELD >>> javascript1 >>> >>> [include [JS_FIELD].inc] >> >> I could, and that's what I was gonna do but it would take much more work > to >> do that then to just store it in the database... >> >> Any other ideas before I spend the time to do this? >> >> -- >> Jesse Williams-Proudman >> Blue Box Development :: Custom Web Solutions >> +1.206.778.8777 :: jesse@blueboxdev.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/ ------------------------------------------------------------- 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: Javascript Stored in a Database ( Jesse Williams-Proudman 2003)
  2. Re: Javascript Stored in a Database ( Jesse Williams-Proudman 2003)
  3. Re: Javascript Stored in a Database ( Pedro Rivera 2003)
  4. Re: Javascript Stored in a Database ( "WebDna @" 2003)
  5. Re: Javascript Stored in a Database ( "Scott Anderson" 2003)
  6. Re: Javascript Stored in a Database ( Jesse Williams-Proudman 2003)
  7. Re: Javascript Stored in a Database ( "WebDna @" 2003)
  8. Javascript Stored in a Database ( Jesse Williams-Proudman 2003)
The easiest thing to do is to have a ";" at the end of each line of code. That way you can have a mile long code in one line and it will still work. That's JavaScript's rules. PR. On 10/17/03 3:35 PM, "WebDna @" wrote: > so you cannot just use the [input] when adding the javascript, then use > [convertchars] around it when you pull it out? > > > > ----- Original Message ----- > From: "Jesse Williams-Proudman" > To: "WebDNA Talk" > Sent: Friday, October 17, 2003 3:16 PM > Subject: Re: Javascript Stored in a Database > > >> On 10/17/03 11:09 AM, "WebDna @" wrote: >> >>> Why not store it in an include and call it with a variable from the DB? >>> >>> JS_FIELD >>> javascript1 >>> >>> [include [JS_FIELD].inc] >> >> I could, and that's what I was gonna do but it would take much more work > to >> do that then to just store it in the database... >> >> Any other ideas before I spend the time to do this? >> >> -- >> Jesse Williams-Proudman >> Blue Box Development :: Custom Web Solutions >> +1.206.778.8777 :: jesse@blueboxdev.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/ ------------------------------------------------------------- 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/ Pedro Rivera

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:

webcat- multiple selection in input field (1997) Emailer choke (1997) Showing once on a founditems (1997) Another new bug found ... (2000) WebCat2 beta FTP site (1997) Your personal 5.1 WebDNA Lab now available on the DRC (2003) Add a field to the error log? (1997) Logical and or in [hideif] (1997) How do I get Google to crawl a WebCat site? (2003) There's a bug in the math context ... (1997) PCS Frames (1997) OT: Weird table rendering w/ WebCat in Explorer (2005) setlineiems and UnitShip Cost (2000) different ship dates and shopping carts -- how to? (1997) unable to launch acgi in WebCat (1997) A few questions. . . (1997) Date format problems (1997) Nesting [ListFiles] (1998) page chokes on hideif when false and ignored (1998) Pay by Mail (CC, Check, Money Order) (2001)