Bug Tracker

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: nathaniel.k.lee@… 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 nathaniel.k.lee@…

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

comment:2 Changed 10 years ago by scottgonzalez

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.