removing multiple lables as well as text boxes
Hi,
I'm just starting out using jquery and would like to do something fairly simple. Here is my code
13 <script type="text/javascript">
14 $(function() {
15 $("#show_button").click(function() {
16 $("#id_1, #id_2").fadeIn();
17 });
18 $("#hide_button").click(function() {
19 $("#id_1, #id_2").fadeOut();
20 });
21 });
22 </script>
This works, but the labels for id_1 and id_2 still remain after the text boxes fade out.. How can I remove the labels as well?
Thanks - Vioilly