<input type = text name = money value =11>
<input type = text name = money>
<input type = text name = money>
<input type = text name = money>
<script>
function Panduan()
{
  aa = document.getElementsByName("money");
  for (i=0;i<aa.length;i++)
  {
    if (aa[i].value == "")
    {
       document.write( "<br>第"+(i+1)+"个为空<br>");
    }  }}
Panduan()
</script>