I have the following js code:
if ( event.target !== self.element[ 0 ]){
...
}
In IE browser I get this error: Object doesn't support this property or method
when I write my code :
if ( event.target == self.element[ 0 ]){
...
}
I don't get a js problem
what is not supported by IE? the !==?!!
===result in?...rather than the condition. Between the 2 snippets, they may not both execute the block....(an ellipsis) as a placeholder for the code....may also be contributing to the "fine in one, error in the other."