473,386 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

POSTING A FORM USING onchange

I have an ASP file that loads the various provincess from my province
table into a combo box. When the user selects a province, it then reads
in all the associated regions for that province into another combo box.
The name of this file is AddProperty.asp

Here is my form section...
<form name="ProvinceForm" id="ProvinceForm" method="post"
action="AddProperty.asp">

Here is my <select> section...
<select name="SelectProvince" onchange="document.ProvinceForm.submit();"
class="INPUTFIELD1">

I can't seem to find out what is wrong, can any one please help?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #1
2 1182
document.forms['ProvinceForm'].submit();

?
"Brendan Vogt" <br*****@yahoo.com> wrote in message
news:uo**************@TK2MSFTNGP09.phx.gbl...
I have an ASP file that loads the various provincess from my province
table into a combo box. When the user selects a province, it then reads
in all the associated regions for that province into another combo box.
The name of this file is AddProperty.asp

Here is my form section...
<form name="ProvinceForm" id="ProvinceForm" method="post"
action="AddProperty.asp">

Here is my <select> section...
<select name="SelectProvince" onchange="document.ProvinceForm.submit();"
class="INPUTFIELD1">

I can't seem to find out what is wrong, can any one please help?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #2
Try posting this question to the ASP newsgroup. This is the ASP.Net
newsgroup.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
The more I learn, the less I know.

"Brendan Vogt" <br*****@yahoo.com> wrote in message
news:uo**************@TK2MSFTNGP09.phx.gbl...
I have an ASP file that loads the various provincess from my province
table into a combo box. When the user selects a province, it then reads
in all the associated regions for that province into another combo box.
The name of this file is AddProperty.asp

Here is my form section...
<form name="ProvinceForm" id="ProvinceForm" method="post"
action="AddProperty.asp">

Here is my <select> section...
<select name="SelectProvince" onchange="document.ProvinceForm.submit();"
class="INPUTFIELD1">

I can't seem to find out what is wrong, can any one please help?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: fish | last post by:
Hi, I have an HTML page with a FORM and some input fields. On the fields I wish to do validation as the punters change the field values. If they get it wrong, then I tell them and then wish...
72
by: Stephen Poley | last post by:
I have quite often (as have probably many of you) come across HTML forms with irritating bits of Javascript attached. The last straw on this particular camel's back was a large form I was asked to...
2
by: Andy Goldstein | last post by:
I have a table where all the TRs have an onClick handler registered. One (and only one) of the rows has 2 text input boxes, where each textbox has an onChange handler registered. Both the onClick...
2
by: lmeng | last post by:
Hi, I am new to this Forum. Thanks in advance for any kind help. In the following HTML code, when I change the value of one text field then click "Modify" button, if the validation fails a...
2
by: NishSF | last post by:
Would anyone have any suggestions/javascript code so that if one clicks the Radio Button "Yes" below he has the option of selecting any of the six CheckBox below. If the user clicks on Radio Button...
1
by: priya | last post by:
hi.i made mistake while copying my code sorry friends.This is the one i tried .i got o/p for dynamic rows how should i h'v to incorporate "onChange"event in "setAttribute". following code is not...
4
by: Rich_C | last post by:
I'm sure this is very simple, but I have very little experience with javascript -- and what I do know isn't helping me here. I have a simple form where users can enter a quantity (qty) and cost...
18
by: Diogenes | last post by:
Hi All; I, like others, have been frustrated with designing forms that look and flow the same in both IE and Firefox. They simply did not scale the same. I have discovered, to my chagrin,...
13
by: DDragon | last post by:
ok here is the problem, i have to forms which have values i wish to be added together i can add together the values in one form all right but im having problems with adding the values of the other...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.