问题标签 [icheck]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
jquery - iCheck 我怎样才能得到这个工作
我正在使用这个插件来自定义收音机和复选框iCheck 我试图在 SO 中搜索,但似乎所有解决方案都不适合我。所以我在这里发布以获得一些帮助,我希望有人可以帮助我完成这项工作。
这是我现在拥有的代码
先感谢您。
jquery - iCheck 在动态复选框中不起作用
我正在使用这个iCheck 插件来自定义复选框和收音机。我有问题。我正在动态加载复选框,但 iCheck 插件不起作用。如果我动态加载复选框。
这就是我加载复选框的方式。
这就是我构建复选框的方式
//getMycheckboxes.php
在 getMycheckboxes.php 中,我构建了所有复选框。但是当它被加载时,icheck 没有设置 chekbox 的样式,或者 icheck 插件不工作。如果我动态加载我的复选框,我怎样才能使这项工作使用 icheck。
javascript - 如何让 JQuery 与 iCheck 插件一起使用
我一直在尝试将 iCheck 插件应用于我的单选框和复选框,但我无法弄清楚为什么我的单选按钮一直选择多个选项,没有 JQuery 经验,我想我可能需要帮助。我使用了最小的蓝色皮肤,所以我下载了带有 blue.png 精灵图像的 blue.css、jquery-1.11.3.min.js 和 icheck.js。
javascript - iCheck 插件 - ifToggled 取消事件
是否可以取消 iCheck 对 ifToggled 的操作?我有未经检查的输入:
输入仍会被检查(JSFiddle 简单示例)。有什么办法可以取消活动吗?
javascript - 使用 iCheck - 移动设备的点击区域很小
所以,我正在使用 iCheck 创建漂亮的单选按钮,但问题是它们在桌面上运行良好,但是当在移动设备上运行时,单选按钮有一个 1px、1px 的点击框,这意味着我必须点击左上角让他们注册点击。
这是我的原始html:
这是 iCheck 处理后输入呈现的方式:
这是我用来初始化 iCheck 处理器的代码:
jquery - 比较复选框和输入值
问题:
我正在尝试将复选框值与同一表行中的输入值进行比较。我在keyup上比较它们。当用户在文本框中填写一个值时,它会将该值与复选框的值进行比较。如果值相等,我希望复选框进入选中状态。
有趣的是,我的代码会这样做,但仅在复选框/输入的第一个实例上。请注意,我使用的是 icheck 插件,所以我使用了一些自定义事件。感谢您在正确方向上的任何帮助。
请看下面的片段。
css - 调整 iCheck JQuery 单选按钮的大小
我正在使用 Angular Directive 为单选按钮使用iCheck 插件,但我无法调整单选按钮的大小,因为我需要小尺寸单选按钮。
任何人都可以帮忙吗?
jquery - How to check an iCheck on the second page
I have the following code:
Which, in a nutshell, retrieves a chunk of data and from that forms a jQuery DataTable. This is then returned and shoved into a DIV in the calling page.
The section which starts $('input[type="checkbox"]').iCheck({ uses the iCheck plugin to format the checkboxes which are the first column of the table.
This works perfectly for the first page of data. However, when the user moves to another page, or changes the page length, the newly displayed checkboxes do not have the formatting applied.
I have looked at using the page event to apply the formatting, but can't get it to work properly. Code I have tried is as follows:
What am I doing wrong?
-- EDIT --
As requested, here is a fiddle demonstrating the problem. Notice the styled checkboxes on page 1, then switch to any other page.
javascript - iCheck checkbox 全选,并刷新数据表
我在 bootstrap 中使用 iCheck 复选框样式,但是我遇到了一些问题,我无法检查/取消选中所有,并且 dotn 工作及时刷新数据表,需要刷新页面或页面刷新。
和高级或公共中的复选框,当我选择它时,它将保持选中状态,然后我将重新加载页面,,
在这里你可以看到 codepen 示例:
