myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "SubmitPageOnValueChange" by MikeKienenberger
Date Wed, 02 Aug 2006 20:25:35 GMT
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 :-)
  

Mime
View raw message