javascript and jquery by examples With javascript input document