Javascript Jquery code
want to fade in and fade out the background color on div
$("div").focusin(function(){
$(this).css("background-color","green"),fadein(5000);
});
$("div").focusout(function(){
$(this).css("background-color","white"),fadein(5000);
});
})
HTMl code
<div>
first name:
<input type="text" name="" id="" />
last name:
<input type="text" name="" id="" />
</div>