[Javascript] "unterminated string literal" error

diego nunes dnunes at gmail.com
Fri Apr 4 12:31:10 CDT 2008


On 4/4/08, Andy Harrison <evolt at dragonzreef.com> wrote:
> I know it has something to do with %0D%0A (carriage-return, line-feed),
> because both work fine if I remove them--but then the new lines don't show
> up in the source code of the new window.  Not important, I know, but I'm
> curious.  Any ideas why this is happening?

    Well, Javascript is evaluating your code, and it end up looking like...
var unterminatedError='http://mimi.com/blabla
kmkdfm';

    No ideas on how to make it work keeping the current functionality, though.

-- 
diego nunes
dnunes.com



More information about the Javascript mailing list