click the checkbox?
> } else {
> targets.hide('slow');
> }
> }).triggerHandler('click');
>
> }
>
> myToggleDisplay('#myCheckboxID', 'td.areaToShow');
>
> Ariel Flesler
>
> On 14 nov, 13:54, Snook <[EMAIL PROTECTED]&
gt; changeBg(); //is really neccesary to call this EVERY time you
> click the checkbox?
> } else {
> targets.hide('slow');
> }
> }).triggerHandler('click');
>
> }
>
> myToggleDisplay('#myCheckboxID', 'td.area
> click the checkbox?
> } else {
> targets.hide('slow');
> }
> }).triggerHandler('click');
>
> }
>
> myToggleDisplay('#myCheckboxID', 'td.areaToShow');
>
> Ariel Flesler
>
> On 14 nov, 13:54, Snook <[EMAIL P
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, sho
(showHideElem);
> $(toggleElem).toggle(
> function(){ showHide.show('slow'); toggleElem.checked = !
> toggleElem.checked; },
> function(){ showHide.hide('slow'); toggleElem.checked = !
> toggleElem.checked; } );
>
> }
>
> On Nov 5, 2:34 pm, Sn
ul !
On Nov 3, 1:15 am, Wizzud <[EMAIL PROTECTED]> wrote:
> function myToggle(toggleElem, showHideElem){
> var showHide = $(showHideElem);
> $(toggleElem).toggle(
> function(){ showHide.show('slow'); },
> function(){ showHide.hide('slow'); } )
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]>
> 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.
Regards,
Damien
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
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
> 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:
--None--
Controle
Security/option>
And I'm trying to access it in this code:
$("select").change(function () {
$("se
13 matches
Mail list logo