1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 18:40:03 +00:00

forms.md: remove jQuery from snippet.

This commit is contained in:
XhmikosR 2019-02-20 14:48:49 +02:00
parent fee11fd7ae
commit 7d964650ee

View File

@ -1164,10 +1164,9 @@ Custom checkboxes can also utilize the `:indeterminate` pseudo class when manual
</div> </div>
</div> </div>
If you're using jQuery, something like this should suffice:
{% highlight js %} {% highlight js %}
$('.your-checkbox').prop('indeterminate', true) var checkbox = document.querySelector('.your-checkbox')
checkbox.indeterminate = true
{% endhighlight %} {% endhighlight %}
#### Radios #### Radios