Skip to main content

Bug Tracker

Side navigation

#13453 closed bug (duplicate)

Opened February 13, 2013 09:26PM UTC

Closed March 05, 2013 03:27PM UTC

:visible for input type=hidden behaves differently in different browsers

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Consider this markup:

<input type="hidden" id="someid" />

Consider this jQuery:


In Chrome 24 and IE 9 it yields false (correct), in IE 8 it yields true (incorrect).

Attachments (0)
Change History (4)

Changed February 24, 2013 10:09PM UTC by mikesherov comment:1

owner: →
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the "jQuery (edge)" version to ensure the issue still exists—you may need to change this to a specific version depending on the test case.

To get you started, use this boilerplate: Open the link and click to "Fork" (in the top menu) to begin.

Changed February 27, 2013 04:54AM UTC by comment:2

status: pendingnew

Here is a jsFiddle example: When run in Chrome 24 and IE 9 it yields false (correct), in IE 8 it yields true (incorrect).

Changed March 05, 2013 04:34AM UTC by bjohn465 comment:3

Using IE 8 on Windows XP and Windows 7 in BrowserStack, I get "false" when viewing the test case at

Changed March 05, 2013 03:27PM UTC by dmethvin comment:4

resolution: → duplicate
status: newclosed

Duplicate of #13132.