You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/08/02 22:25:35 UTC

[Myfaces Wiki] Update of "SubmitPageOnValueChange" by MikeKienenberger

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by MikeKienenberger:
http://wiki.apache.org/myfaces/SubmitPageOnValueChange

The comment on the change is:
onclick vs onchange 

------------------------------------------------------------------------------
  }}}
  
  Thanks to Slawek for this tip.
+ 
+ 
+ Note that for checkboxes and radio buttons you will want to use
+ onclick instead of onchange as IE6 fires the onchange during 'blur'
+ instead of the actual change of these input controls whereas onclick
+ is fired when the value is actually changed for all browsers.  Thanks to Andrew Robinson for this tip.
+ 
  
  In the previous example, if you don't want your button to be seen, use the style style="visibility:hidden;", so the button is hidden and the effect is better :-)