[jQuery] Re: text after a radio button

2008-10-29 Thread ricardobeat
You can reach it with DOM properties: $('input').each(function(){ while (this.nextSibling && this.nextSibling.nodeType == 3) { $(this.nextSibling).remove(); } }); - ricardo On Oct 28, 7:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Working with  Lotus Notes developer

[jQuery] Re: text after a radio button

2008-10-29 Thread edzah
I had the same problem just now. Try this: 1 2 ... Then when you want to hide/show both the radio button and the text: $('#val1').show(); $("#val1txt").show(); $('#val2').hide(); $("#val2txt").hide(); Ed On Oct 28, 9:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Working with  Lot