How to show a warn message : Javascript
This is a discussion on How to show a warn message within the Javascript forums in Programming Languages category; I am using VS2005 to develop web application. I put a TextBox on the WebPage, it is used for a user to input the height of a person. I want to show a confirm dialog if the input data in not in the range of 50..250. How can I write the JavaScript?...
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| I put a TextBox on the WebPage, it is used for a user to input the height of a person. I want to show a confirm dialog if the input data in not in the range of 50..250. How can I write the JavaScript? |
|
#2
| |||
| |||
| the RangeValidator control is what you need. fill the ControlToValidate attribute with the textbox's ID Mininumvalue with 50 Maxnumvalue with 250 Text with 'the height of a person in the range of 50 - 250' "ad" <flying@wfes.tcc.edu.tw> :e$rbloIrGHA.3816@TK2MSFTNGP05.phx.gbl... >I am using VS2005 to develop web application. > I put a TextBox on the WebPage, it is used for a user to input the height > of a person. > > I want to show a confirm dialog if the input data in not in the range of > 50..250. > > How can I write the JavaScript? > |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to show the message box (.net 2.0) in culture specific? | usenet | DOTNET | 7 | 11-20-2007 06:09 PM |
| Graphics In Message Body Don't Show | usenet | Eudora | 1 | 10-22-2006 02:31 PM |
| message box dosn't show text | usenet | CSharp | 1 | 05-10-2005 02:20 PM |
| OWA does not show a content of the message, when click reply | usenet | Microsoft Exchange | 0 | 03-16-2005 08:21 AM |
| To Lanwench -Have to click on other folder for new message to show up | usenet | Microsoft Exchange | 4 | 01-25-2005 04:13 PM |
All times are GMT -5. The time now is 07:02 AM.




