I need to make the checkbox responsive (in .HTML file), i.e on select of checkbox the url of the page should get modified and page should get refreshed. Following is my code..
{% for val in p_val %}
<h4>{{ p_val.get('g_name') }}</h4>
{% for att in p_val.get('atbut') %}
<div class="checkbox">
<label>
<input type="checkbox" name="check" value="attvalue">
{{ att.get('name') }}
</label>
</div>
{% endfor %}
{% endfor %}
Aucun commentaire:
Enregistrer un commentaire