Considera anche la possibilità (ma solo a condizione che il tuo button si trovi prima della tabella e a condizione che sia button che tabella siano figli dello stesso nodo genitore - quindi "fratelli") di usare solo il CSS:

codice:
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Esempio</title>
<style type="text/css">
#pulsante {
	margin: 0 3px;
	display: inline-block;
	font: 12px / 13px "Lucida Grande", sans-serif;
	text-shadow: rgba(255, 255, 255, 0.4) 0 1px;
	padding: 3px 6px;
	border: 1px solid rgba(0, 0, 0, 0.6);
	background-color: #969696;
	cursor: default;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: rgba(255, 255, 255, 0.4) 0 1px, inset 0 20px 20px -10px white;
	-webkit-box-shadow: rgba(255, 255, 255, 0.4) 0 1px, inset 0 20px 20px -10px white;
	box-shadow: rgba(255, 255, 255, 0.4) 0 1px, inset 0 20px 20px -10px white;
}

#mostraRighe:checked ~ #pulsante {
	background: #B5B5B5;
	-moz-box-shadow: inset rgba(0, 0, 0, 0.4) 0 -5px 12px, inset rgba(0, 0, 0, 1) 0 1px 3px, rgba(255, 255, 255, 0.4) 0 1px;
	-webkit-box-shadow: inset rgba(0, 0, 0, 0.4) 0 -5px 12px, inset rgba(0, 0, 0, 1) 0 1px 3px, rgba(255, 255, 255, 0.4) 0 1px;
	box-shadow: inset rgba(0, 0, 0, 0.4) 0 -5px 12px, inset rgba(0, 0, 0, 1) 0 1px 3px, rgba(255, 255, 255, 0.4) 0 1px;
}

#mostraRighe, .espandibile {
	display: none;
}

#mostraRighe:checked ~ table tr.espandibile {
	display: table-row;
	color: red;
}
</style>
</head>
<body>
<form name="tuoForm">
<input type="checkbox" name="tuaCheckbox" id="mostraRighe" />
<label for="mostraRighe" id="pulsante">Mostra righe mancanti</label>
<table>
<thead>
<tr><th>Colonna1</th><th>Colonna2</th><th>Colonna3</th></tr>
</thead>
<tbody>
<tr class="espandibile"><td>blabla</td><td>blabla</td><td>blabla</td></tr>
<tr class="statica"><td>blabla</td><td>blabla</td><td>blabla</td></tr>
<tr class="espandibile"><td>blabla</td><td>blabla</td><td>blabla</td></tr>
<tr class="statica"><td>blabla</td><td>blabla</td><td>blabla</td></tr>
<tr class="espandibile"><td>blabla</td><td>blabla</td><td>blabla</td></tr>
</tbody>
</table>
</form>
</body>
</html>