('#myCheckboxID', 'td.areaToShow');
Ariel Flesler
On 14 nov, 13:54, Snook [EMAIL PROTECTED] wrote:
Dear developers,
I have a function which is called several times, when my page is
loaded. This is VERY slow under IE, because I have a lot of checkbox.
Did someone can explain me this difference
');
}
}).triggerHandler('click');
}
myToggleDisplay('#myCheckboxID', 'td.areaToShow');
Ariel Flesler
On 14 nov, 13:54, Snook [EMAIL PROTECTED] wrote:
Dear developers,
I have a function which is called several times, when my page is
loaded. This is VERY slow under IE, because I have a lot of checkbox
the checkbox?
} else {
targets.hide('slow');
}
}).triggerHandler('click');
}
myToggleDisplay('#myCheckboxID', 'td.areaToShow');
Ariel Flesler
On 14 nov, 13:54, Snook [EMAIL PROTECTED] wrote:
Dear developers,
I have a function which is called several times, when my page
Dear developers,
I have a function which is called several times, when my page is
loaded. This is VERY slow under IE, because I have a lot of checkbox.
Did someone can explain me this difference between FF and IE ? And
maybe how to improve this function :
function myToggleShow(checkboxElem,
('slow'); toggleElem.checked = !
toggleElem.checked; },
function(){ showHide.hide('slow'); toggleElem.checked = !
toggleElem.checked; } );
}
On Nov 5, 2:34 pm, Snook [EMAIL PROTECTED] wrote:
I also have tried, like you suggested, to use the .each() function.
function myToggle
(){ showHide.hide('slow'); } )
.each(function(){ this.checked = !this.checked; });
}
On Nov 2, 12:21 pm, Snook [EMAIL PROTECTED] wrote:
Calling toggle() runs event.preventDefault.
Whatever you want the click to do, you need to code it yourself.
Ok, thanks.
I have tried different implementation
(toggleElem, showHideElem){
var showHide = $(showHideElem);
$(toggleElem).toggle(
function(){ showHide.show('slow'); },
function(){ showHide.hide('slow'); } )
.each(function(){ this.checked = !this.checked; });
}
On Nov 2, 12:21 pm, Snook [EMAIL PROTECTED] wrote:
Calling
Calling toggle() runs event.preventDefault.
Whatever you want the click to do, you need to code it yourself.
Ok, thanks.
I have tried different implementation of preventDefault, regarding
what I have found in this group. And probably I'm completely wrong
because no one works for me.
Here is
Thanks a lot Wizzud. This works fine.
But did you have an idea why the checkbox didn't display the check
mark when there are checked ?
The checkbox are used to run the toggle function.
Damien
Thanks a lot Wizzud. This works fine.
Regards,
Damien
Hello,
I use several time the same toggle function, like this:
$(input#regime_ltn_c).toggle(
function() {
$(table#regime_ltn).show(slow);
},
function() {
$(table#regime_ltn).hide(slow);
}
);
So I would like to create a
To match that single select element, do:
$(select[name=opportunity_type]).change(function() {
That's works fine, thanks a lot Josh.
--
Damien
Dear,
I'm looking for a way to match a dropdown with a specific name.
Unfortunately, I cannot add a id to this field.
Here is the html code of my dropdown:
select name=opportunity_type
option value= selected=--None--/option
option value=controleControle/option
option
13 matches
Mail list logo