mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-22 23:40:23 +00:00
forms.md: remove jQuery from snippet.
This commit is contained in:
parent
fee11fd7ae
commit
7d964650ee
1 changed files with 2 additions and 3 deletions
|
|
@ -1164,10 +1164,9 @@ Custom checkboxes can also utilize the `:indeterminate` pseudo class when manual
|
|||
</div>
|
||||
</div>
|
||||
|
||||
If you're using jQuery, something like this should suffice:
|
||||
|
||||
{% highlight js %}
|
||||
$('.your-checkbox').prop('indeterminate', true)
|
||||
var checkbox = document.querySelector('.your-checkbox')
|
||||
checkbox.indeterminate = true
|
||||
{% endhighlight %}
|
||||
|
||||
#### Radios
|
||||
|
|
|
|||
Loading…
Reference in a new issue