/[drupal]/contributions/sandbox/jjeff/betterselect/betterselect.js
ViewVC logotype

Contents of /contributions/sandbox/jjeff/betterselect/betterselect.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Sep 21 13:25:02 2006 UTC (3 years, 2 months ago) by jjeff
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/javascript
A better user interface for SELECT form elements with multiple = TRUE
Currently requires patch #85166 in order to work properly.
1 $(document).ready(function() {
2 $('.betterselect .form-checkboxes input[@type="checkbox"]').click(function(){
3 this.checked ? $(this).parent().parent().addClass('hilight') : $(this).parent().parent().removeClass('hilight');
4 });
5 });

  ViewVC Help
Powered by ViewVC 1.1.2