Hi all,
the following piece of code returns different result on IE9 and FireFox14 browsers when attribute does not exist for specified element:
on IE9 returnValue is equal to '' (empty string)
and on FireFox it is equal to 'null' (this is not NULL reference, this is a string 'null')
This function has the following remark:
so I suppose it "forwards" the result from browser that executes Javascript.
However, I expect methods to be browser-independent -> return the same result irrespectively of browser that is used.
Can you please comment whether:
1. I'm doing something wrong
2. this should be treated as a defect that will be fixed some day
3.
this should be treated as a defect that will be never fixed
4. this is a feature (please explain why)