Hi Chris,
Your .empty() refers to .gloves_wear  - but the class on the <div> is
wear_gloves !

Otherwise code looks OK.
Paul

On Mar 16, 2:59 am, Chris Hall <sifuh...@gmail.com> wrote:
> I'm trying to remove radio buttons under a specific circumstance, but
> I'm not having much luck.
>
> Here are the appropriate snippets:
>
> alert("testing");  // just to ensure we are here
> $("div.gloves_wear").empty();
>
> ...
>
> <table border="0">
>         <tr><td align="center"><b>Gloves Worn</b></td></tr>
>         <tr><td><div class="wear_gloves">
>
>         <input type="radio" name="gloves" value="0"  />None (no bonus)<br />
>         <input type="radio" name="gloves" value="20" checked />Big Bear
> gloves (+1 Strength)<br />
>         </div></td></tr>
> </table>
>
> I get the alert, but it doesn't appear that the empty ever occurs.  I
> get no errors in the javascript console, so I'm sure I'm just
> referencing it incorrectly or something.
>
> Any help is appreciated.

Reply via email to