I was trying to make the starter inputs for my text rpg change the background color in a fade effect with JQuery, but I cant figure out what i did wrong. Heres the part im focusing on:
<script>
$(document).ready(function() {
$Intro_Inputs = $('#Header_Intro input');
$Intro_Inputs.hover(function() {
$(this).animate({'background-color':'#2E8AE5'}, 'slow');
});
});
</script>
If anyone could help me out with the mistake i made i would greatly appreciate it!
(The problem was that it wouldnt fade the colors in)