How to implement input checkbox to expand the click range

How to implement input checkbox to expand the click range
XML/HTML CodeCopy content to clipboard
  1. < div   style = "width:100%;height:100px;" > < input   type = "checkbox"   onclick = "All_None(this.checked)"   style = "width:100%;height:100%;" > </ div >   

Set the width and height to 100%.

The above method of implementing input checkbox to expand the click range is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

Original URL: http://www.cnblogs.com/jinzhaoyoujiu/p/input_checkbox.html

<<:  Two ways to start Linux boot service

>>:  Uniapp uses Baidu Voice to realize the function of converting recording to text

Recommend

MySQL 20 high-performance architecture design principles (worth collecting)

Open Source Database Architecture Design Principl...

A brief discussion on the execution details of Mysql multi-table join query

First, build the case demonstration table for thi...

More popular and creative dark background web design examples

Dark background style page design is very popular...

A brief analysis of the use of watchEffect in Vue3

Preface Everyone should be familiar with the watc...

Detailed explanation of the correct way to install opencv on ubuntu

This article describes how to install opencv with...

How to implement property hijacking with JavaScript defineProperty

Table of contents Preface Descriptors Detailed ex...

JS Easy to understand Function and Constructor

Table of contents 1. Overview 1.1 Creating a func...

202 Free High Quality XHTML Templates (2)

Following the previous article 202 Free High-Qual...

Detailed explanation of overlay network in Docker

Translated from Docker official documentation, or...

Javascript Basics: Detailed Explanation of Operators and Flow Control

Table of contents 1. Operator 1.1 Arithmetic oper...

Analysis of the process of deploying pure HTML files in Tomcat and WebLogic

1. First, the pure HTML file must have an entry i...