Can post form data in IIS, but doesnt post it via webserver

J

J. Muenchbourg

I have a form that posts fine over my local IIS webserver; the form uses
a javascript to populate the third DBCode field upon the "gameweek"
selection by the user. Below is how I have my form set up:

<form name="form" method="post" action="fb-query-post6.asp">


<td height="114" valign="top" background="images/wayback.jpg"
width="359"><p><br>
&nbsp;&nbsp;<br>
&nbsp;</p>
<p> &nbsp;<font color="#FF9900" size="2">Year</font> <font
size="2">
<select name="season" STYLE="font-family : monospace;
font-size : 7.5pt"><option></option>
<option value="2003">2003</option>
<option value="2002">2002</option>
<option value="2001">2001</option>
</select>
<font color="#FF9900">Week#</font></font> <font size="2">
<select name="gameweek" size=1 STYLE="font-family :
monospace;
font-size : 7.5pt"
onChange='javascript:populateData( this.options[selectedIndex].text
)'>
<option></option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
&nbsp; <font color="#FF9900">DBase <font size="2">
<select name="DBCode" STYLE="font-family : monospace;
font-size : 7.5pt">
</select>
&nbsp;<input name="submit" type="submit" class="inputSubmit"
value="Go" size="8" align="absbottom"></form>


==============

here is the javascript I use to dynamically populate the 3rd form field
depending on what the user enters in the second.



<script language="Javascript">

var arrayData = new Array();

arrayData[0] = '1|LY-YrToDate|'
arrayData[1] = '1|LY-Last8wk|'
arrayData[2] = '2|LY-YrToDate|'
arrayData[3] = '2|LY-Last8wk|'
arrayData[4] = '3|Avg(YrTD-LY)|'
arrayData[5] = '4|YrToDate|'
arrayData[6] = '5|YrToDate|'

function populateData( name ) {

select = window.document.form.DBCode;
string = "";

// 0 - will display the new options only
// 1 - will display the first existing option plus the new options

count = 0;

// Clear the old list (above element 0)

select.options.length = count;

// Place all matching categories into Options.

for( i = 0; i < arrayData.length; i++ ) {
string = arrayData.split( "|" );
if( string[0] == name ) {
select.options[count++] = new Option( string[1] );
}
}

// Set which option from subcategory is to be selected

// select.options.selectedIndex = 2;

// Give subcategory focus and select it

// select.focus();

}

</script>


===============

It all works fine in IIS, but when I upload and test it on my live site
(Windows2000 server), I get no data posted.

?????
Muench
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top