Hi all
I seem to struggle more than expected on this scenario: An empty A tag wont
trigger Ajax
HTML is pretty simple
span class=myIcon id=id3192
a
href=../page?3-2.ILinkListener-navigation-navigation_body-wmc-left-4-comp-content-tabs-panel-body-rows-5-cells-2-cell-3-link
id=link17a
/a
/span
Ajax works also with empty tags, but your link does not receive click events
because of the surrounding span (which gets the click events).
Try this:
a wicket:id=link class=myIcon/a
.myIcon {
background: url(...);
display: inline-block;
height: XXXpx;
width: YYYpx;
}
Cheers,
Try putting a non-breaking space in there:
anbsp;/a
On Fri, Nov 23, 2012 at 6:41 AM, ronny.v...@consult.nordea.com wrote:
Hi all
I seem to struggle more than expected on this scenario: An empty A tag
wont trigger Ajax
HTML is pretty simple
span class=myIcon id=id3192
a
On Fri, Nov 23, 2012 at 4:22 PM, Nick Pratt nbpr...@gmail.com wrote:
Try putting a non-breaking space in there:
anbsp;/a
And then only this space character will be clickable.
Better wrap the span in a:
a ...span.../span/a
On Fri, Nov 23, 2012 at 6:41 AM, ronny.v...@consult.nordea.com