JSON parsing errors...[looks like thers some problem wid NEw line characters]

Discussion in 'Javascript' started by cool_buddy218@yahoo.com, Jun 30, 2007.

  1. Guest

    Hi i'm having problems with my json scripts. When I retrieve data that
    contains new lines it causes an error from firebug. I've used a couple
    of replace like .replace("\n", "
    "), .replace(/\n/g, "\\n") but it still didn't work. Please have a
    feed back on this thanks!

    -bryan
    www.nachofoto.com
     
    , Jun 30, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harsh_forC

    reg 'system' function--- wid a simple code!

    Harsh_forC, Dec 30, 2005, in forum: C Programming
    Replies:
    10
    Views:
    477
    ozbear
    Dec 30, 2005
  2. prob wid compiler

    , Mar 7, 2008, in forum: C++
    Replies:
    3
    Views:
    310
    Jim Langston
    Mar 8, 2008
  3. Lew

    Problem wid eclipse..

    Lew, Jul 20, 2008, in forum: Java
    Replies:
    3
    Views:
    379
  4. AAaron123
    Replies:
    11
    Views:
    1,138
    AAaron123
    Nov 27, 2008
  5. David Karr
    Replies:
    1
    Views:
    170
    David Karr
    Jun 17, 2013
Loading...

Share This Page