reset form fields

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
User avatar
php-forum Active User
php-forum Active User
Posts: 359
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Wed Aug 08, 2012 4:58 am

I would say you're probably better off doing this with jquery. For example, you could modify the inner text of the form elements to clear it when the button is clicked. This code is just an example, and would clear all input boxes when run.

Code: Select all

	    $("#reset").click(function() {

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests