0

This script is working great in all browser but IE8, the error points me to the line 434 colum 75 telling me there is an undefined object.

Error log:

Messaggio: 'undefined' è nullo o non è un oggetto
Linea: 434
Carattere: 75
Codice: 0
URI: http://127.0.0.1:81/apitest/js/easyXDM.js

And this is the function on that line:

function testForNamePropertyBug(){
    var form = document.body.appendChild(document.createElement("form")), input = form.appendChild(document.createElement("input"));
    input.name = IFRAME_PREFIX + "TEST" + channelId; // append channelId in order to avoid caching issues
    HAS_NAME_PROPERTY_BUG = input !== form.elements[input.name];
    document.body.removeChild(form);
}

The exactly line 434 column 75 is: input

EDIT: enter image description here LINK: http://postimg.org/image/n1ogavda3/

Spudley
  • 166,037
  • 39
  • 233
  • 307
DomingoSL
  • 14,920
  • 24
  • 99
  • 173

0 Answers0