Invalid Character error when including plug-in API functions - Internet Explorer 8,
Invalid Character error when including plug-in API functions - Internet Explorer 8,
PaoloValladolid
Posts: 35Questions: 0Answers: 0
I am trying to use fnReloadAjax() to solve another Internet Explorer 8 related problem - an error that occurs after these steps are followed:
1. Load DataTable via sAjaxSource in the constructor.
2. Add a row via a call to fnAddData()
3. Attempt a column sort.
I read that a possible solution is to call fnReloadAjax(). However, I get an "Invalid Character" Javascript error when I add this line to my HTML page and reload it:
This error does not seem to occur in Firefox.
1. Load DataTable via sAjaxSource in the constructor.
2. Add a row via a call to fnAddData()
3. Attempt a column sort.
I read that a possible solution is to call fnReloadAjax(). However, I get an "Invalid Character" Javascript error when I add this line to my HTML page and reload it:
This error does not seem to occur in Firefox.
This discussion has been closed.
Replies
'Invalid Character' errors in IE can sometimes crop up when there is a hidden UTF-8 character in the code file, which the JS engine doesn't understand. This can occur due to a copy and paste error or perhaps something else.
I'd suggest opening your JS file with a text editor that allows you to view hidden characters (e for Windows, TextMate for Mac, and many others) and see if there is anything dodgy looking.
If you can't see if can you post a like to a live example showing this problem please.
Regards,
Allan