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:
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:
Help needed! (1998)
RE: WebCat 3.0 Serial Numbers (1999)
how to check for no value while using [URL] to prevent cr (1999)
WebCat 3? (2000)
Bugs still *not* fixed as promised ... (2000)
Help with Shipping Costs (1997)
Encrypt a page/template (2002)
Pipes instead of tabs (1998)
WebSTAR/WebCatalog losing files (2000)
Here we go again... (2006)
html pages not working (2003)
Search in 2 or more catalogs (1997)
First time Installation problems (1999)
Document Contains No Data! (1997)
Shopping Carts folder does not exist in Linux (2000)
Rhapsody? (1997)
WebCatalog 2.1b3 - Plugin or cgi ? (1997)
Running _every_ page through WebCat-error.html (1997)
Not really WebCat- (1997)
frames & carts (1997)