per mandare il valore alla stessa pagina puoi usare l'anchor nell'action, così:

codice:
<form action="#" method="POST"></form>