Just To complete my issue:
at the end of my switch have
if (class_id == "0")
$("#class-fields").hide("slow").empty();
else
$("#class-fields").empty().append(cfields).show(speed);
Regards
Mario
2007/3/12, MARIO MOURA <[EMAIL PROTECTED]>:
Hi Thanks All. It is working
Now appear another problem.
My Jquery is
switch (class_id) {
case "6":
cfields =
$("div").children("#edit-taxonomy-6");
$("#edit-taxonomy-6").css("visibility", "")
break;
case "4":
cfields =
$("div").children("#edit-taxonomy-4");
$("#edit-taxonomy-4").css("visibility", "")
break;
It is fine on the first time
return 3 => I can see my form
but if user click "case=4" and back to case "3"
My form dont render it is invisble again.
JQuery can Help me?
2007/3/12, Alex Cook <[EMAIL PROTECTED]>:
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of MARIO MOURA
> Subject: [jQuery] remove( String expr )
>
> I need
>
> Before:
> <select name="taxonomy[6]" style="visibility:hidden" class="form-select"
> id="edit-taxonomy-6" >
>
> After:
> <select name="taxonomy[6]" class="form-select" id="edit-taxonomy-6" >
>
> I need remove style="visibility:hidden" from id="edit-taxonomy-6"
>
> I am newbie in JQuery
>
> I tried a lot of things.
>
> Regards
> --
> Mário
>
> -----
>
> Mario,
>
> Are you attempting to remove the visibility rule in order to show the
> select element? If so, this should work for you:
>
> $("#edit-taxonomy-6").css("visibility","visible");
>
> What's going on here is pretty basic. First, we grab the select element
> via its ID attribute[1], then we edit its CSS entries (the style
> attribute)[2] and set the visibility as desired.
>
> [1] - http://docs.jquery.com/DOM/Traversing/Selectors
> [2] - http://docs.jquery.com/CSS
>
> HTH
>
> -ALEX
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
--
Mário Alberto Chaves Moura
[EMAIL PROTECTED]
31-9157-6000
--
Mário Alberto Chaves Moura
[EMAIL PROTECTED]
31-9157-6000
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/