Converting Quotes in Javascript

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38527
interpreted = N
texte = I'm storing several measurements in a database that include the quote/inch mark (ex: 40 Cue). I'm pulling these product names from the database to generate a javascript. When the JS encounters one of the quote/inch marks, it assumes that the line is supposed to end and script breaks. list6array[1] = 40 Cue list6source[1] = P0002 list6array[2] = 57 Cue list6source[2] = P0003 needs to be... list6array[1] = 40\ Cue list6source[1] = P0002 list6array[2] = 57\ Cue list6source[2] = P0003 The archives said quote/inch marks are a big NO-NO in a custom [convertchars] DB. So, how can I convert the quote/inch mark to \ without using [convertchars]? -- _______________________Clint Davis Webmaster Gray Loon Marketing Group 812.422.9999cdavis@grayloon.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Converting Quotes in Javascript (Anup Setty 2001)
  2. Re: Converting Quotes in Javascript (Bob Minor 2001)
  3. Re: Converting Quotes in Javascript (Clint Davis 2001)
  4. Re: Converting Quotes in Javascript (Christer Olsson 2001)
  5. Re: Converting Quotes in Javascript (Clint Davis 2001)
  6. Re: Converting Quotes in Javascript (Christer Olsson 2001)
  7. Re: Converting Quotes in Javascript (Clint Davis 2001)
  8. Re: Converting Quotes in Javascript (Clint Davis 2001)
  9. Re: Converting Quotes in Javascript (Christer Olsson 2001)
  10. Converting Quotes in Javascript (Clint Davis 2001)
  11. Re: Converting Quotes in Javascript (Anup Setty 2001)
I'm storing several measurements in a database that include the quote/inch mark (ex: 40 Cue). I'm pulling these product names from the database to generate a javascript. When the JS encounters one of the quote/inch marks, it assumes that the line is supposed to end and script breaks. list6array[1] = 40 Cue list6source[1] = P0002 list6array[2] = 57 Cue list6source[2] = P0003 needs to be... list6array[1] = 40\ Cue list6source[1] = P0002 list6array[2] = 57\ Cue list6source[2] = P0003 The archives said quote/inch marks are a big NO-NO in a custom [convertchars] DB. So, how can I convert the quote/inch mark to \ without using [convertchars]? -- _______________________Clint Davis Webmaster Gray Loon Marketing Group 812.422.9999cdavis@grayloon.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://search.smithmicro.com/ Clint Davis

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:

searchable list archive (1997) Developer Edition - Connection Limit (2006) Summing fields (1997) Browser Check for WebDNA compatability (1999) [WebDNA] DigitalOcean Snapshots (2019) Just testing (2003) [WebDNA] Dynamic vertical columns (2008) SiteBuilder? - SlideShow (2004) Return records from another (1997) [WebDNA] Cron vs. trigger syntax (2014) Upgrading old WebCat Database Files (1997) carriage returns in data (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) WebCat2 - [format thousands] (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Forms Search Questions (1997) WebDNA-Talk Digests (1997) Limiting [FoundItems] (2000) NetForms for email (1998) How nuch ram??? (1997)