Skip to main content

Bug Tracker

Side navigation

#13207 closed bug (notabug)

Opened January 14, 2013 04:30PM UTC

Closed January 14, 2013 05:59PM UTC

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:

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 Thanks!

Attachments (0)
Change History (2)

Changed January 14, 2013 05:50PM UTC by comment:1

Never mind. I saw the problem. Real face palm moment for myself. Please close this out.

Changed January 14, 2013 05:59PM UTC by scottgonzalez comment:2

resolution: → notabug
status: newclosed