<div id="tabs"> <ul> <li><a href="#tabs-1">Allgemein</a></li> </ul> <div id="tabs-1"> [MESSAGE] <form action="" method="post"> <div class="row"> <div class="row-height"> <div class="col-xs-14 col-md-4 col-md-height"> <div class="inside inside-full-height"> <fieldset> <table width="100%" border="0" class="mkTableFormular"> <legend>{|Einstellungen|}</legend> <td>{|Absatz berücksichtigen (Monate)|}:</td> <td><input type="number" min="0" name="monate_absatz" id="monate_absatz" value="[MONATE_ABSATZ]" size="20"></td> </tr> <tr> <td>{|Vorausplanen (Monate)|}:</td> <td><input type="number" min="0" name="monate_voraus" id="monate_voraus" value="[MONATE_VORAUS]" size="20"></td> </tr> </table> </fieldset> </div> </div> <div class="col-xs-14 col-md-8 col-md-height"> <div class="inside inside-full-height"> </div> </div> <div class="col-xs-14 col-md-2 col-md-height"> <div class="inside inside-full-height"> <fieldset> <table width="100%" border="0" class="mkTableFormular"> <legend>Aktionen</legend> <tr> <td><button name="submit" class="ui-button-icon" style="width:100%;" value="loeschen">{|Zurücksetzen|}</button></td> </tr> <tr> <td><button name="submit" class="ui-button-icon" style="width:100%;" value="speichern">{|Speichern|}</button></td> </tr> <tr> <td><button name="submit" class="ui-button-icon" style="width:100%;" value="bestellungen_erzeugen">{|Bestellungen erzeugen|}</button></td> </tr> </table> </fieldset> </div> </div> </div> </div> <div class="row"> <div class="row-height"> <div class="col-xs-14 col-md-6 col-md-height"> <div class="inside inside-full-height"> [TAB1] <fieldset> <table> <tr> <td> <input type="checkbox" value="1" id="autoalle" /> alle markieren </td> </tr> </table> </fieldset> </div> </div> </div> </div> </form> [TAB1NEXT] </div> </div> <script> $('#autoalle').on('change',function(){ var wert = $(this).prop('checked'); $('#bestellvorschlag_list').find('input[type="checkbox"]').prop('checked',wert); $('#bestellvorschlag_list').find('input[type="checkbox"]').first().trigger('change'); }); </script>