Not sure what I'm doing wrong

Last post 08-27-2007, 11:33 AM by rutledj. 2 replies.
Sort Posts: Previous Next
  •  08-27-2007, 7:04 AM 32923

    Not sure what I'm doing wrong

    I have pasted code in a page (using the editor) that includes a button that would normally open a page on another site with the . It is a Bible search function. Here is the code
     
     
    <form action="http://www.biblegateway.com/quicksearch/" method="post">
    <table border="1" cellspacing="0" cellpadding="2" style="border-color: #600;">
    <tr><th style="background-color: #600; color:#fff; text-align: center; padding: 0 10px;">Lookup a word or passage in the Bible</th></tr>
    <tr><td style="background-color: #fff; text-align: center; padding: 0 10px;">
    <p style="margin-bottom: 0;">
    <input type="text" name="quicksearch" /><br />
    <input type="submit" value="Search BibleGateway.com" /><br />
    </p>
    </td></tr>
    </table>
    </form>
     
     
    It displays correctly but when you push the submit button it just goes back to the same page, it doesn't open a new page like it should.
     
    Rut
  •  08-27-2007, 10:10 AM 32928 in reply to 32923

    Re: Not sure what I'm doing wrong

    Rut,
     
    Please change
     
    <form action="http://www.biblegateway.com/quicksearch/" method="post">
     
    to:
     
    <form action="http://www.biblegateway.com/quicksearch/" method="post" target="_blank">
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  08-27-2007, 11:33 AM 32938 in reply to 32928

    Re: Not sure what I'm doing wrong

    Just tried that. No change. If I copy/paste the code in a text file (test.html) and open it in IE it works as is, opening a new page with the results of the search.
     
    Rut
     
    Also, just noticed, it works in Preview mode but not after you save the data and go to the real page:
     
    http://reidsvillecc.org/searchbible.aspx
View as RSS news feed in XML