Autofill and Select Form Fields

JavaScriptSource Staff Nov 12, 2007

General

When testing forms you don't need to keep filling in the different fields. Use this function to automatically fill-in input blocks and select values in the form for you. Very easy to use.


Name:
E-mail:
Date
Milk
Butter
Cheese
Milk
Butter
Cheese
 

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: autofillSelect.js


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(1 comment)

Your JS file is easy to use and understand for all new user or all new devveloper..thanks

jaiminshah Nov 23, 2007