1 2 3 4 5 6 7
<!DOCTYPE html> <html> <form method="post" action="main.php"> <input type="button" id="sweep" name="sweep" class="pannel-button" value="Sweep" onclick="this.form.submit()"/> <input type="hidden" id="sweep" name="sweep" value="SWEEP"/> </form> </html>