How to show message beside text box

Giganews Newsgroups
Subject: How to show message beside text box
Posted by:  hon123456 (peterhon3…@yahoo.com.hk)
Date: Mon, 24 Mar 2008

Dear all,

      I have a textbox for user input, I want to show message beside
the textbox when the user input non-numberic letter. I know how to use
isNaN. But I don't know how to show message beside the textbox. Please
suggest javascript that can show message "Please enter numeric value"
beside the text box when the user enter non-numeric value.

<input type="text" size="17"  name="OS_No">

Thanks.

Replies