# mailchimp/1.6.1/assets/js/hidecss.js

Mailchimp List Subscribe Form, version 1.6.1. 15 lines.

- Page: https://pluginprobe.com/plugins/mailchimp/1.6.1/code/assets/js/hidecss.js
- Raw: https://pluginprobe.com/plugins/mailchimp/1.6.1/raw/assets/js/hidecss.js
- Modified: 2024-09-24T14:28:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/mailchimp/1.6.1/code/assets/js/hidecss.js#L10-L20`.

```javascript
/* show/hide on checkbox click */
// eslint-disable-next-line no-unused-vars -- used on window on click
function showMe(box) {
	const chboxs = document.getElementsByName('mc_nuke_all_styles');
	let vis = 'none';
	for (let i = 0; i < chboxs.length; i++) {
		if (chboxs[i].checked) {
			vis = 'none';
		} else {
			vis = '';
		}
	}
	document.getElementById(box).style.display = vis;
}

```
