Hi,
ich habe folgenden HTML Code:
Code
<div id="auswahlSeite4" class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary">
<input type="radio" name="options" id="optionJahr" autocomplete="off"> Jahr
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="optionQuartal" autocomplete="off"> Quartal
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="optionMonat" autocomplete="off"> Monat
</label>
<label class="btn btn-secondary active">
<input type="radio" name="options" id="optionWoche" autocomplete="off" checked> Woche
</label>
</div>
Alles anzeigen
Bei Auswahl einer Option soll jeweils ein Event starten und PHP Code ausgeführt werden. Wie kann ich das ameffektivsten erreichen? PHP code ist vorhanden. Eine .js Klasse habe ich auch.
Gruß