When i use a link (wicket 6.21.0 or 7.1.0) the java code below doesn't change
my element.
String js = "this.style.display = 'none';";
js += "document.getElementById('" + showLinkId + "').style.display = '';";
this.add(AttributeModifier.replace("click", js));

When is use the same code but use "onclick" instead of "click", everything
works fine.
I have been told that we should us "click" instead of "onclick". 
What am I doing wrong?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxEvent-click-and-onclick-tp4673590.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to