It sounds like TexoTela plugin kills the JavaScript event, i.e. it
does something like: event.preventDefault(), event.stopPropagation().
Better check the plugin code and see what happens.

On Thu, Aug 18, 2011 at 8:30 AM, rebecca <[email protected]> wrote:
> hello,
>
> I'm using wicket 1.4.16.
> I have a simple text field component on a phone number panel.
> I used TexoTela's jquery plugin "jquery.numeric" to enable only numeric
> input to the text field.
> I added it in a <script> block in the html file of this phone number panel:
>
> $(function(){
>    $('.numericPhone').numeric();
> }
>
> Everything worked fine.
>
> Than I added AjaxFormComponentUpdatingBehavior("onchange") to this number
> text field.
> The onchage was not called (ie - it didn't get into onUpdate/onError).
>
> Only when i removed the use of the numeric plugin - the ajax worked.
>
> Do you have an idea what am i doing wrong?
>
> Thanks
> Rebecca
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/onchane-not-working-with-jquery-numeric-plugin-tp3751788p3751788.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]

Reply via email to