I'm guessing what you're after is just getting the value of the
checkbox.  What MorningZ said is absolutely correct.  I would suggest
you try:

<li><input type="checkbox" value="hello" /></li>

Then in jQuery:

$(":checkbox").click(function(){
     alert(this.value);
});

On Sep 25, 1:53 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> To start with, that html isn't valid, as you have
>
> <li><label><input type="checkbox" />hello</input></label></li>
>
> with the checkbox <input> ending in "/>", which closes the tag, hence
> the "hello" is not inside the input tag.....  even if you take that
> out, pretty sure that's not valid html anyways

Reply via email to