Here is a little extension I wrote for jquery to do disabling:
jQuery.fn.extend({
filterHasDisabled : function(){ return this.filter(function(){return
(typeof(this.disabled)!=undefined)})},
disabled: function(h) {
if (h!=undefined) return
this.filterHasDisabled().each(function(){this.di
Here is a little extension I wrote for jquery to do disabling:
jQuery.fn.extend({
filterDisabled : function(){ return this.filter(function(){return
(typeof(this.disabled)!=undefined)})},
disabled: function(h) {
if (h!=undefined) return
this.filterDisabled().each(function(){this.disable
I had made a little checkbox demo a while back.
Doesn't do everything you want, but it might help.
http://www.commadot.com/jquery/checkboxes.php
Glen
On 9/24/07, Matt <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would do :
> $('#myfield').attr('disabled', 'disabled'); // disabled
> $('#myfield').attr
Hi,
I would do :
$('#myfield').attr('disabled', 'disabled'); // disabled
$('#myfield').attr('disabled', ''); // enabled, i guess
Matt
>
2007/9/24, sheetzam <[EMAIL PROTECTED]>:
>
>
> Using jquery 1.2.1 toggle:
>
> jQuery().ready(function(){
> $('#multiple').toggle(
> function(){
>
4 matches
Mail list logo