English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am accepting an input in the textbox i want to check following conditions:
1)alert if textbox is left blank
2)check if textbox is given spaces in it
3)numbers cannot be entered
4)after giving an alert after proper message the focus(cursor)should be in that textbox

2007-03-11 17:13:34 · 3 answers · asked by swati_getsweetypie 1 in Computers & Internet Programming & Design

3 answers





Untitled Document








2007-03-11 17:53:03 · answer #1 · answered by solitaryfalcon 2 · 0 0

Yuor textbox:


Javascript:

2007-03-11 17:38:09 · answer #2 · answered by Anonymous · 0 0

you won't be able to regulate a field cost utilizing an onclick tag. the most elementary way I see you are able to doing that is installation a Hypertext Preprocessor document that you'll link to, and which connects the database and modifies the field. any opposite direction you are able to attempt that is to verify an HTML form and put up the recommendations both to a distinct Hypertext Preprocessor document or an identical document (only in a placed up technique). you ought to maintain any vulnerabilities, obviously, in both of those strategies.

2016-12-01 20:59:47 · answer #3 · answered by luci 4 · 0 0

fedest.com, questions and answers