I am trying to pass a value of 600 into a txtbox (Approximate_fee) when sizeindex < "600" and typeindex==4 and ageindex==1.
this is what I have so far:
var typeindex=document.for[0].Inspection_Type.selectedIndex;
var ageindex=document.forms[0].House_Age.selectedIndex;
var...
I am trying to do a simple validation for a text box(House_Sqft) to ensure the user enters in only numbers. The following code I have works if the user enters all letters (ersqgadsfg) but if the user types in a combination of letters and numbers (324324nn) it will accpet it. Any ideas?
var...
I would like to pass a value from a drop down list to a text box after a cmd button is pressed.
Here is what I have so far:
function Calculate()
{
if(document.orderform.Inspection_Type.selectedIndex == 3)
{
document.orderform.Approximate_Fee.value=="295";
}
thanks
I have a number of validations in sequence for a form named 'orderform'. I would like the user to only be able to enter in a numeric value in a text box named 'house_size'.
any help appreciated
I have a pop up window and would like to put a delay on it so the pop up window doesn't load until the index page does.
here is my code so far
<script language="javascript">
<!--...
I am creating a website(dreamweaver) with one main layer and tables inside of it. I have created a javascript submenu that appears in IE but not Netscape. Netscape puts the layer over top of the script and the rollovers do not appear. I REALLY need the layers so I have to find a way around this...
I am validating a form in Dreamweaver using JavaScript. I would like a user to only enter a numeric value in a text field.
i.e.
if (IsNumeric(document.calcform.SqFt.value) == "")
{
alert ( "Please enter in the approximate Square Footage of you...
I have a number of validations in my form using javascript. While validating, I would like the validation to stop and set focus to the text box that has a false validation. Like the exit sub in vbscript. Here is what I have so far:
if ( document.calcform.SqFt.value == "" )
{
alert (...
On Submit of a form button, I have validated for a text box to be populated by a result from a calculator. If they have not used the calculator to populate the text box, I would like the user to be directed back to the calculator(anchor) on the page. I could just reload the page but then the...
In vbscript, I want to hide text boxes on load. On the page there is 2 forms, 1 is a calculator and the other is a mail form. The claculator passes values to 4 text boxes in the mail form. I don't want the user to see the info passed to the mail text boxes, I just want info passed in the mail...
I would like some help in opening a new page in existing window.
I am currently using window.open"fsgasfgasfg". It only opens the page in a new window.
any help appreciated
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.