Side navigation
#13595 closed bug (notabug)
Opened March 11, 2013 06:59PM UTC
Closed March 14, 2013 08:23PM UTC
type.indexOf is not a function (type: websocket, browser: Firefox)
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using jquery-1.9.1 and either Firefox 19.0.2 or Firefox 18.0.1.
Line 2920: if ( type.indexOf(".") >= 0 ) {
When type is websocket, Firebug Console complains TypeError: type.indexOf is not a function. Communication is not successful.
Assumedly, this affects line 2926 too.
I am sorry that I can't think of a sufficiently minimal demonstration of this for jsfiddle.
Attachments (0)
Change History (4)
Changed March 11, 2013 07:09PM UTC by comment:1
owner: | → anonymous |
---|---|
status: | new → pending |
Changed March 14, 2013 08:10PM UTC by comment:2
The issue is when an HTML table and td ID's characters are too long. If you use datatables with ASP.Net webforms, it is possible to have html element id's that are more than 60 characters.
I encountered the error with a 148 character Id, generated by ASP in an ASP.Net Webforms nested Repeater.
Changed March 14, 2013 08:14PM UTC by comment:3
I created a jsFiddle example to recreate this error.
Again, the error is caused by html element id's that contain "too many" characters. (a common occurrence with Microsoft's interesting implementation of ASP.Net WebForms)
I do not know what the character limit is.
Changed March 14, 2013 08:23PM UTC by comment:4
resolution: | → notabug |
---|---|
status: | pending → closed |
The error is being thrown from within the dataTables plugin. Please contact them.
Honest, we need a repro. You don't need to *think* of one, just reduce the code causing the error. If you can't provide one we'll just close this because it sounds like the caller is misusing the API.