On 29 déc, 18:27, X490812 <[EMAIL PROTECTED]> wrote:
> ...
> parent.document.getElementById("buttonsForm:filterByActor").style.display="none"
> //jQuery("#buttonsForm:filterByActor",
> parent.document).css({"display":"none"});
>
> });
>
> //--></b>
>
> The issue is that the jquery script that is commented out does not
> work, BUT the standard javascript code DOES WORK - why?!?!  What am I
> doing wrong? Is there a better way to do this?

Newbie too, so I'm not sure, but...
I guess this comes from the ":" in your id (character with a special
meaning for CSS).
Look at the FAQ:
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F

HTH

Reply via email to