Re: How to append JavaScript to a link?

2009-05-05 Thread Linda van der Pal
deleteButton.add(new SimpleAttributeModifier("onclick", "return confirm('Are you sure?');")); HHB wrote: Hey, The last cell in a data table is a link (that is contained in a form) that will delete the row. How to append JavaScript code that will display a confirmation dialog? Thanks for help an

Re: How to append JavaScript to a link?

2009-05-05 Thread jensiator
icket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/How-to-append-JavaScript-to-a-link--tp23387242p23387452.html Sent from the Wic

How to append JavaScript to a link?

2009-05-05 Thread HHB
Hey, The last cell in a data table is a link (that is contained in a form) that will delete the row. How to append JavaScript code that will display a confirmation dialog? Thanks for help and time. - To unsubscribe, e-mail: users