Topic: Checkbox with input field inside label
gregs_legs pro asked 7 years ago
Hi, I have some checkboxes with the <input> inside the <label> ( e.g. the 'Create Account' button on (logged out) Woocommerce Checkout page). I don't wish to change the markup but after many hours of trying I can't get them to work. I can do the CSS but the checkbox doesn't respond when clicked. What am I missing ?
The markup:
<p id="checkbox1_field">
<label class="checkbox">
<input type="checkbox" class="input-checkbox " name="checkbox1" id="checkbox1">
Classic checkbox
</label>
</p>
Thanks
G
gregs_legs pro answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No