Hi, http://jsfiddle.net/qRKm5/
As you can see both 'change' and 'click' events are actually fired. On Mon, Nov 5, 2012 at 8:29 AM, _kl_ <[email protected]> wrote: > Hi, > > > I have used onchange event for my text fields to get the updated value. > After updating the text fields if the user tries to save the changes by > clicking on the ajax submit link he has to double click. Reason: the "on > change" event internally uses "on blur" so when the link is clicked first it > finishes the on change event then on second click the page submits. How can > i avoid this?? I tried using "on focus" instead but that is not the > solution. What can be the other way for doing this? Only single click is > required by the user. > > > > ----- > _kl_ :) > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/how-to-submit-page-on-single-click-when-text-fields-are-using-onchange-event-tp4653606.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] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
