• Firefox "String contains an invalid character"

    By Paul S Withers 1 decade ago

    Firefox throws an error "String contains an invalid character" on the line:

    var inp = document.createElement("");

    This can be fixed by removing the "<" and ">"