You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Doug Ly <dl...@prosrm.com> on 2005/02/22 19:47:19 UTC

Javascript in JSF

Is there any difference if I put the onclick event before action and
vice versa?

 

Like

 

<h:buttonCommand onclick="xxx()" action="xxx"/>

Or

<h:buttonCommand action="xxx" onclick="xxx()"/>

Thanks

 


Re: Javascript in JSF

Posted by Heath Borders <he...@gmail.com>.
Nope.


On Tue, 22 Feb 2005 12:47:19 -0600, Doug Ly <dl...@prosrm.com> wrote:
> 
> 
> Is there any difference if I put the onclick event before action and vice
> versa?
> 
>  
> 
> Like
> 
>  
> 
> <h:buttonCommand onclick="xxx()" action="xxx"/>
> 
> Or
> 
> <h:buttonCommand action="xxx" onclick="xxx()"/>
> 
> Thanks
> 
>  


-- 
-Heath Borders-Wing
hborders@mail.win.org