django checkbox select all
how can i select all checkbox when i click header checkbox? By javascript? How? And can i do that in easier method? thanks:D run.html <form name="form" method="post" action="/home/{{build}}/"> <br> <input type="submit" value="Delete" style="margin-left:149px; width:80px; height:30px"> <input type="hidden" name="build_id" value="{{build_id}}" /> <table border="1"; style="margin-left:150px; border-collapse:collapse;margin-top:10px"; cellpadding="4" borderColor=black> <tr bgcolor=#888888> <td><input type="checkbox" align="center"></td> <td><b>Run</b></td> <td><b>Product</b></td> </tr> {% for run