Hi, Please try to explain the idea again. There is no such thing like CSS event. There is JS event. Does the button submit a form ? Because you say it reloads the page ... Why do you think the event is fired more than once ?
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Feb 3, 2015 at 11:30 PM, Chris <[email protected]> wrote: > Hi guys, > > I would like to control a DIV element when clicking on a button, so that > it sort of reacts to this event by „blinking“ for a short time. > Currently, when clicking the button, a CSS attribute is added to the DIV’s > class and the page is reloaded so that this event is triggered. > However, the event should fire only once so I would therefore need to > delete the attribute after that. > > Is there a more elegant solution so that the „CSS event“ is fired once > when clicking the button? > > Thanks, > Chris > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
