on 8/31/09 10:42 AM, mkmanning at michaell...@gmail.com wrote:
Play around with this:
$('input[value*=||]').change(function(){
var $this = $(this),val = $this.val().split('||')[1];
if($this.is(':checked')){
$this.removeAttr('disabled').siblings('input[value$='+val+']').attr
Play around with this:
$('input[value*=||]').change(function(){
var $this = $(this),val = $this.val().split('||')[1];
if($this.is(':checked')){
$this.removeAttr('disabled').siblings('input[value$='+val+']').attr
('disabled','disabled');
} else {
you can add an id to your checkbox in order to get much easier
reference to element clicked. Let's say you have id = widget1||123456,
widget2||123456 etc
then
$('input[type=checkbox][id$=123456]')'.click(function(){
$('input[type=checkbox][id$=123456]')'.not($(this)) will give you all
other check
3 matches
Mail list logo