Javascript file fails to load

Jump to: navigation, search

A Javascript file may fail to load in certain browsers because it may contain NULL characters. Just delete those characters and everything will be good. I think this happened when using knockout.js with Internet Explorer. FYI, IE's console reported nothing but FF did state the problem. In this case the NULL character was at the end of the file. Only certain editors will show NULL characters on the screen. Notepad++ worked. I dont think I could see it in Visual Studio.

See also

Personal tools
Namespaces
Variants
Views
Actions
Navigation