Objectmix
Tags Register Mark Forums Read

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?...


Object Mix > Programming Languages > Javascript > How to show a warn message

Reply

 

LinkBack Thread Tools
  #1  
Old 07-20-2006, 08:51 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default How to show a warn message

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?


Reply With Quote
  #2  
Old 07-26-2006, 02:12 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: How to show a warn message

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?
>



Reply With Quote
Reply

Thread Tools


Similar Threads

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.