
04-30-2011, 10:42 PM
|
|
ǝɔɐɹq ʎןɹnɔ
|
 |
Join Date: Dec 2006
Location: Germany
Posts: 5,153
|
|
|
Don't know if this also happens with v5, but comparing an attribute (this.attr[1]) to -1 results in true when the attribute carries a string (this.attr[1] == -1 -> true when this.attr[1] = "foo", for example). Doing this on the clientside. Didn't give it a try with non-attribute variables. Seemed quite strange to me.. |
|
|
|