JavaScript İle Form Temizleme

<input type="button" name="btnReset" value="Temizle" onClick="javascript:ResetTheForm(this.form)">

<script language="javascript">
function ResetTheForm(form)
{
    if (confirm("Formu temizlemek istediğinize emin misiniz?"))
    {
        form.reset();
    }
}
</script>

Be the first to comment

Leave a Reply

Your email address will not be published.


*