CARVIEW |
Select Language
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 10 Oct 2025 13:44:03 GMT
Content-Type: text/html
Content-Length: 162
Location: https://bugs.jquery.com/ticket/9453/
Connection: keep-alive
Reporting-Endpoints: csp-endpoint='https://csp-report-api.openjs-foundation.workers.dev/'
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 10 Oct 2025 13:44:03 GMT
Content-Type: text/html
Last-Modified: Wed, 18 Sep 2024 14:30:36 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
ETag: W/"66eae40c-3a9d"
Reporting-Endpoints: csp-endpoint='https://csp-report-api.openjs-foundation.workers.dev/'
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint
Content-Encoding: gzip
#9453 ($.inArray does not support fromIndex) - jQuery - Bug Tracker
jQuery issues have moved to GitHub. This site is now a static archive of the old Trac bugs site. Some functions and pages are no longer available.
Skip to main content
Bug Tracker
Side navigation
#9453 closed enhancement (fixed)
Opened May 28, 2011 03:03PM UTC
Closed September 19, 2011 07:43PM UTC
Last modified March 08, 2012 10:20PM UTC
$.inArray does not support fromIndex
Reported by: | Speednet | Owned by: | rwaldron |
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | core | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The $.inArray() function calls the native JavaScript Array.indexOf() function if it's available, but the native function supports an optional second argument of "fromIndex". (See [
The fromIndex argument is very useful, and could be easily added without impacting any existing code from previous versions of jQuery.
Thanks!
Attachments (0)
Change History (5)
Changed May 28, 2011 03:09PM UTC by rwaldron comment:1
component: | unfiled → core |
---|---|
milestone: | 1.next → 1.7 |
owner: | → rwaldron |
priority: | undecided → low |
status: | new → assigned |
Changed May 28, 2011 03:31PM UTC by rwaldron comment:2
Changed May 28, 2011 04:06PM UTC by timmywil comment:3
Well, I kinda did it too :P. https://github.com/timmywil/jquery/compare/enhancement_9453
Changed May 28, 2011 05:29PM UTC by rwaldron comment:4
description: | The $.inArray() function calls the native JavaScript Array.indexOf() function if it's available, but the native function supports an optional second argument of "fromIndex". (See [https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/indexOf]) \ \ The fromIndex argument is very useful, and could be easily added without impacting any existing code from previous versions of jQuery. \ \ Thanks! → The $.inArray() function calls the native JavaScript Array.indexOf() function if it's available, but the native function supports an optional second argument of "fromIndex". (See [ \ \ The fromIndex argument is very useful, and could be easily added without impacting any existing code from previous versions of jQuery. \ \ Thanks! |
---|
so, land mine and yours to get all the work combined hahaha
If no one in Bugs, Core or UI is opposed, I think this is a good suggestion for 1.7