Hi, You can use IAjaxCallDecorator that prepends this JS code for all Ajax behaviors you need.
On Mon, May 7, 2012 at 9:42 PM, jiayang <yangjian0...@gmail.com> wrote: > Hi, I want to clear the focused text fields by using java script instead of > through wicket. Thus, I want the onfocus="this.value=' '; var > wcall=wicketAjaxGet(url,function, function,function); " Is there any way to > implement this? > Since there are several text fields with different Url, I can't hard code a > function called callWicket() for all the fields. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Append-wicketAjaxget-after-some-javascripts-tp4615517.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org