Hi friends,
See I creating Login page to my website. If the user makes some typograpical error(like if it enters '@' a invalid character in login name, then it can be detected by javascript), then dynamic text should come near the text filed.
Eg: 1) In Gmail if we enter wrong Login Id and password, then the feedback is shown "WRONG ID and PASSWORD" instead of showing in some other page.
Whereas in Yahoo if we enter wrong Login Id and password, then the feedback is shown "WRONG ID and PASSWORD" in some ther page.
Eg: 2) Even when we are creating a new email ID, we are asked to enter desired Username. I that provided email Id provided by us is invalid or valid, we are shown a specific message near the respective textfield in red or green color.
I dont want,
- page should not be forwarded to another page.As it is done in Yahoo.
- to use Alert() box
I know in my above examples server come and play. But my main question is to display the message in that page next to respective textfield if the error in username or password (typographical errors) can be easily detected at client-side by javascript.
Thanks.
Venkat