jquery - how can I call two functions: Java and Javascript with one KeyUp event on InputText -



jquery - how can I call two functions: Java and Javascript with one KeyUp event on InputText -

how can phone call 2 functions: java , javascript 1 keyup event on inputtext , i'm using primefaces component. :

<p:inputtext id="aa" value="#{bonbonnemanagedbean.sel}"> <p:ajax event="keyup" onstart="fnc(this)" listener="#{bonbonnemanagedbean.ajouterselected(bonbonnemanagedbean.sel)}" /> </p:inputtext>

you're close. you've typo in onstart attribute. should written in lowercase.

<p:ajax event="keyup" onstart="fnc(this)" listener="#{bonbonnemanagedbean.ajouterselected(bonbonnemanagedbean.sel)}" />

refer vdl documentation right attribute names.

javascript jquery jsf primefaces

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -