I am a php newbie and i am trying to create a price range system for my ecommerce website project.
so I did a checkbox form:
<form method="POST" action="?">
<p> <input type="checkbox" name="dori" value="dori"><em> 0 - 5000</em></p>
<p><input type="checkbox" name="bora" value="bora"><em> 5000 - 1000</em></p>
<input type="submit">
</form>
For that no problem, i can handle it...But what i want to achieve is if the user ticked the box, i can get the value of the box ticked without a submit button clicked.
How can i achieve that?
This is the form i want to achieve
<form method="POST" action="?">
<p> <input type="checkbox" name="dori" value="dori"><em> 0 - 5000</em></p>
<p><input type="checkbox" name="bora" value="bora"><em> 5000 - 1000</em></p>
</form>
Hope i explain clearly...Thanks in advance for the help!