Forum How do I...?

How to handle "unexpected token identifier" error in Prince?

Is there a way to handle "unexpected token identifier" error in Prince? I tied using try catch to handle this error. But it did not work.
mikeday
It is caused by a syntax error in the JavaScript code. Unfortunately the line numbers are relative to the start of the <script> element, which can make it difficult to locate if it is not in an external file. Perhaps you could email me (mikeday@yeslogic.com) the script?