javascript - Trying to have a link + checkbox, both clickable and text change on click -
currently i'm using jquery have checkbox , text, text change after checkbox ticked, i'm trying work box or text can clicked , result changed text , checked box?
can assist me further?
just put label text around checkbox , text, becomes like:
<label><input type="checkbox" />add cart</label>
this makes text part of checkbox
Comments
Post a Comment