Skip to main content

Bug Tracker

Side navigation

#12305 closed bug (wontfix)

Opened August 15, 2012 11:27AM UTC

Closed September 08, 2012 03:23PM UTC

Last modified February 15, 2013 07:11AM UTC

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 + "");

Attachments (0)
Change History (8)

Changed August 15, 2012 12:57PM UTC by dmethvin comment:1

owner: → anonymous
status: newpending

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.

Changed August 24, 2012 05:23PM UTC by anonymous comment:2

status: pendingnew

Changed August 24, 2012 05:43PM UTC by dmethvin comment:3

status: newpending

Attributes should be strings. Why are you setting an attribute to NaN?

Changed August 24, 2012 06:13PM UTC by anonymous comment:4

status: pendingnew

Replying to [comment:3 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.

Changed September 08, 2012 03:23PM UTC by mikesherov comment:5

_comment0: Please take this up with the plugin author to resolve the issue. jQuery does not support setting attributes to strings.1347120642334968
resolution: → wontfix
status: newclosed

Please take this up with the plugin author to resolve the issue. jQuery does not support setting attributes to NaN.

Changed October 16, 2012 04:16PM UTC by JP comment:6

Just add a tabindex to the select elements then error will disappear.

Changed January 22, 2013 07:54PM UTC by KM comment:7

Just wanted to say, thanks for citing selectBox as the problem, this helped me fix identical issue.

Changed February 15, 2013 07:11AM UTC by Halycon comment:8

Thanks very much! It helped me to solve this problem.