Form Value Remove – Improve UI

This code was developed to work within contact / search or other such forms where you don’t want the user to have to delete existing data in the form. It should be erased onFocus of the text box.

//Looks for field length
if($('input').length >= 1){
	//Store inputs in array
	var input = $('input');
    //Loop through array
        var value = $(this).val();
            //store this iterative items value
                //OnFocus delete value

           if ($(this).val()=="") {
                  //If value still empty, return loaded value.