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

Discussion in 'Javascript' started by J. Muenchbourg, Aug 6, 2003.

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

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    J. Muenchbourg, Aug 6, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vishal
    Replies:
    1
    Views:
    654
    Steve C. Orr [MVP, MCSD]
    Dec 21, 2004
  2. Eric
    Replies:
    5
    Views:
    561
  3. CRON
    Replies:
    10
    Views:
    558
    Jonathan N. Little
    Oct 20, 2006
  4. Replies:
    3
    Views:
    425
    alex23
    May 27, 2008
  5. Xpol Wan
    Replies:
    2
    Views:
    134
    Xpol Wan
    Sep 25, 2008
Loading...

Share This Page