Re: Javascript Stored in a Database

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53469
interpreted = N
texte = Why not store it in an include and call it with a variable from the DB? JS_FIELD javascript1 [include [JS_FIELD].inc] ----- Original Message ----- From: "Jesse Williams-Proudman" To: "WebDNA Talk" Sent: Friday, October 17, 2003 10:39 AM Subject: Javascript Stored in a Database > I have some multi line javascript stored in a database that I need to put on > a page and have function. The existing problem is that when I try to put in > on the page, it is missing all the line breaks and so it does not get > executed correctly. Does any one know how to handle that? [convertchars] > or [input] both don't work because they turn the html in the javascript code > in the < &rt; > > -- > 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/ 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)
Why not store it in an include and call it with a variable from the DB? JS_FIELD javascript1 [include [JS_FIELD].inc] ----- Original Message ----- From: "Jesse Williams-Proudman" To: "WebDNA Talk" Sent: Friday, October 17, 2003 10:39 AM Subject: Javascript Stored in a Database > I have some multi line javascript stored in a database that I need to put on > a page and have function. The existing problem is that when I try to put in > on the page, it is missing all the line breaks and so it does not get > executed correctly. Does any one know how to handle that? [convertchars] > or [input] both don't work because they turn the html in the javascript code > in the < &rt; > > -- > 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/ "WebDna @"

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:

RE: groups and [ShowNext] (1997) Just made store and move file from webcatalog......... (2000) Browser Problem?!? Still getting Error message using POST! (1997) Email password -- was Classified Ads 4 Sale (1998) automatic reload of frameset (1997) Authenticating users without dialog box (1997) Two stores, one server (1998) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) Webcatalog server support (1997) PIXO support (1997) Funny Chars (1999) Date Help! (2003) Webstar 1.3.1 PPC (1997) multiple prices (1998) form data submission get (1997) Dark Horse Comics success story (1997) Multiple catalog databases and showcart (1997) how do we turn off staticpages page creation? (2003) remotely add + sign (1997) Properly implemented switch-case would be nice ... (2002)