Skip to content
Advertisement

Tag: wrapper

Wrapped clickable DivElement : event isn’t listened

Please, consider the little following code : I’m trying to add the HTML attribute “onclick” with move(); as value. This move value is actually a function that alerts “Clicked !” when the final-user clicks on this HTML element. But it doesn’t work. When I inspect the source, it seems that the property onclick isn’t added to this HTML element. Do

Advertisement