Opened 10 years ago
Closed 10 years ago
#13207 closed bug (notabug)
Issue with setting "display" style to "none" on a DIV element via an event handler in certain contexts.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I was trying to do a modal dialog of sorts. When I click on the page body I show the semi-transparent overlay as well as the DIV that acts as the dialog. I attached an event handler to the dialog itself such that when I click on it the dialog and the overlay should be hidden via the "hide" method or via setting "display" to "none" with the "css" method. However, specifically setting "display" doesn't work. I can set other styles such as "background-color" just fine.
I saved the code I was testing with to http://jsfiddle.net/VpBED/. Thanks!
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Never mind. I saw the problem. Real face palm moment for myself. Please close this out.