#12305 closed bug (wontfix)
I got a type mismatch error in IE7
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I encountered it in the compressed version. I've used the uncompressed version to find the line number.
LN 2526:
return (ret.value = value + "");
Change History (8)
comment:1 Changed 11 years ago by
Owner: | set to anonymous |
---|---|
Status: | new → pending |
comment:3 follow-up: 4 Changed 11 years ago by
Status: | new → pending |
---|
Attributes should be strings. Why are you setting an attribute to NaN
?
comment:4 Changed 11 years ago by
Status: | pending → new |
---|
Replying to dmethvin:
Attributes should be strings. Why are you setting an attribute to
NaN
?
I'm not the OP, but replied with the jsfiddle because I stumbled upon this ticket. I was experiencing the same "Type mismatch" error in IE7.
In my case, we are using the selectBox plugin (https://github.com/claviska/jquery-selectBox). The init function does parseInt(select.attr('tabindex')) which can be undefined and returns NaN.
comment:5 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Please take this up with the plugin author to resolve the issue. jQuery does not support setting attributes to strings.
comment:6 Changed 10 years ago by
Just add a tabindex to the select elements then error will disappear.
comment:7 Changed 10 years ago by
Just wanted to say, thanks for citing selectBox as the problem, this helped me fix identical issue.
Can you provide a simple test case that creates the error, preferably at jsfiddle.net? Knowing the line number doesn't tell us what caused the problem.