Re: Converting Quotes in Javascript

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38526
interpreted = N
texte = Try using [URL] tag around the valuelist6array[1] = [url]40 Cue[/url]You can always UNURL them when you need to use it, I don't know if this helps to ease your situation. HTH Anup Setty ----- Original Message ----- From: Clint Davis To: WebCatalog Talk Sent: Monday, September 10, 2001 10:33 AM Subject: Converting Quotes in Javascript > 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.9999 > > cdavis@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/ ------------------------------------------------------------- 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)
Try using [url] tag around the valuelist6array[1] = [url]40 Cue[/url]You can always UNURL them when you need to use it, I don't know if this helps to ease your situation. HTH Anup Setty ----- Original Message ----- From: Clint Davis To: WebCatalog Talk Sent: Monday, September 10, 2001 10:33 AM Subject: Converting Quotes in Javascript > 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.9999 > > cdavis@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/ ------------------------------------------------------------- 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/ Anup Setty

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:

WebDNA module - Automated database archiving (1997) Plugin or CGI or both (1997) [OT] WebDNA Family Album (2004) PSC recommends what date format yr 2000??? (1997) LetterRip and WebCat & more (1998) Error Msg (1997) emailer (1997) [OT] Friday Time Waster (2003) WebCommerce: Folder organization ? (1997) It gets better... posting problems + Webcat 3.0.7 available - did anyone know? (2000) Server crash (1997) Protect tag for large groups? (1999) Shared databases (2003) [LOOKUP] (1997) Convert Char (2001) Need relative path explanation (1997) contextual shownext (1998) Windows Install issue (2003) Negative number search (2000) Search returns all, not 20 (1997)