Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Jun 2011
    Posts
    148
    Thanks
    18
    Thanked 0 Times in 0 Posts

    getting unterminated string literal error

    Hi guys ,
    i am getting this error " unterminated string literal" but iam unable to locate the problem..iam using fire bug for firefox..
    any idea from where this error comes ?

    thanks

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    26,027
    Thanks
    79
    Thanked 4,436 Times in 4,401 Posts
    With firebug, the CONSOLE tab should lead you to the spot. It might be a couple of lines off, but it should be there.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    Regular Coder
    Join Date
    Jun 2011
    Posts
    148
    Thanks
    18
    Thanked 0 Times in 0 Posts
    Hi Old P

    the console is showing a textarea that i am suspecting it a source of this issue..
    i tried to use JSStringFormat(#FORM.textareafield#) but stil same issue..

    thoughts ?

  • #4
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,091
    Thanks
    38
    Thanked 498 Times in 492 Posts

    Question

    Quote Originally Posted by korssane View Post
    Hi Old P

    the console is showing a textarea that i am suspecting it a source of this issue..
    i tried to use JSStringFormat(#FORM.textareafield#) but stil same issue..

    thoughts ?
    One thought: How about showing some code to analyze?

  • #5
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    26,027
    Thanks
    79
    Thanked 4,436 Times in 4,401 Posts
    And what the heck are #'s doing in JavaScript code, anyway?
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #6
    Regular Coder
    Join Date
    Sep 2011
    Posts
    103
    Thanks
    0
    Thanked 14 Times in 14 Posts
    Hi,

    It will be good if you can post your code or a part of code and exact error message in detail. This will help us to catch eror.

    Thanks

  • #7
    Regular Coder
    Join Date
    Jun 2011
    Posts
    148
    Thanks
    18
    Thanked 0 Times in 0 Posts
    Hi guys ,

    Sorry for being late ..it just work fine using #JSStringFormat("#FORM.textareafield#")# .

    thanks a lot for all your help..


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •