submit event drop down list does not fire

Discussion in 'ASP General' started by Stephen Witter, Jun 30, 2003.

  1. I have two asp pages. Both have similar purposes. I am trying to get
    the inline frame in both pages to update (submit) when a user clicks
    on a drop-down box (I would prefer the change or after update events
    but couldn't get them to work the way I wanted) This process works
    for one page but not thte other I am using frontpage.

    Here is the code for both:

    Page 1 - doesn't work
    <base target="ViewArticleSelect"> (My inline frame page)
    <form method=POST action="ViewArticleSelect.asp?Submitted=True"
    <select size="1" name="lstShowType" onclick="submit">
    <option value="AllArticles" selected>All Articles</option>
    <option value="OpenArticles">Open Articles</option>
    <select size="1" name="sort_by" onclick="submit">
    <option value="PRODUCT_NAME" selected>Product</option>
    <option value="PRIORITY">Priority</option>
    <option value="ARTICLE_DATE">Article Date</option>
    <option value="AUTHOR_ID">Resource</option>

    Page 2 - does work

    <base target="ArticleSearchSelect"> (My inline frame page)
    <form method="POST" action="SearchArticleSelect.asp?Submitted=True"
    <select size="1" name="OpenType" onclick="submit">
    <option value="ArticleDoc" selected>Article</option>
    <option value="ArticleDetails">Article Details</option>
    <option value="ArticleEdit">Edit Article</option>
    <select size="1" name="SearchType" onclick="submit">
    <option value="AllWords" selected>All Words</option>
    <option value="AnyWord">Any Word</option>
    </select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font>

    I can't seem to find anything wrong. I appreciate any help.
    Stephen Witter, Jun 30, 2003
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.