首页javascriptinputjQuery Form - 如何为输入框创建fadeIn效果

jQuery Form - 如何为输入框创建fadeIn效果

我们想知道如何为输入框创建fadeIn效果。

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.7.1.js'></script>
<script type='text/javascript'>
$(window).load(function(){
    $('#aaa').hide().fadeIn('2000');
    $('#bbb').hide().fadeIn(2000)
});
</script>
</head>
<body>
  <input id="aaa" value="fade me in with string" />
  <input id="bbb" value="fade me in with number" />
</body>
</html>