Alert Box
-
Sir I have tried alert box on click button But it can't solve my problem my problem is to validate that a textbox contain some character or numeric .if it is blank then a alert box will appear on the page that "You have not entered any value" Please reply me as early as possible.:confused::confused: Balwan Singh
-
Sir I have tried alert box on click button But it can't solve my problem my problem is to validate that a textbox contain some character or numeric .if it is blank then a alert box will appear on the page that "You have not entered any value" Please reply me as early as possible.:confused::confused: Balwan Singh
This is the third time you have posted the same exact question, keep it in the original thread! Plus, you have received good answers already - if you dont understand them then respond to the person who answered. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
-
Sir I have tried alert box on click button But it can't solve my problem my problem is to validate that a textbox contain some character or numeric .if it is blank then a alert box will appear on the page that "You have not entered any value" Please reply me as early as possible.:confused::confused: Balwan Singh
go back to ur previous post, there u wil get the answer.if u want some thing else then please specify ur query correctly coolsweety
-
Sir I have tried alert box on click button But it can't solve my problem my problem is to validate that a textbox contain some character or numeric .if it is blank then a alert box will appear on the page that "You have not entered any value" Please reply me as early as possible.:confused::confused: Balwan Singh
I found that you have already pasted the same problem and got the pretty solutions for that. ok try as below add the follwing lines of code in between the head tags.
<script language="javascript"> function Warning() { if(Uname.value=='') { alert("You must enter value"); Uname.focus(); } } <script>
in the body tag<input type="Textbox" name="Uname"> <input type="Button" value="ClickMe" onClick="Warning()">
This will ensure that button click will always displays alert message when ever the TextBox is Empty. cheer Ramesh.Kanjinghat