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 discuss@jquery.com http://jquery.com/discuss/