search keyword

Discussion in 'Software' started by kkubicek, Jul 16, 2007.

  1. kkubicek

    kkubicek

    Joined:
    Jul 13, 2007
    Messages:
    1
    Hi All,
    I'm trying to convert a page to .NET using C#, I have a simple form with an input box (keywords) and a submit button that sends the keywords to a seach page (/docsearch/) using the URL for example:

    http://mysite.com/docsearch/?keywords=air

    How do I do this in ASP.NET using C#?

    here's my javascript:

    <form name="search" id="search" method="get"
    action="http://sa.jsc.nasa.gov/docsearch/"​
    onSubmit="window.open(this.action+'?​
    keywords='+this.keywords.value,'_blank','height=450,​
    width=601, location=yes, menubar=no, resizable=yes, scrollbars=yes,​
    status=no, toolbar=yes'); return false ;"> ​

    <td>
    <input name="keywords" type="text" id="keywords" size="12"
    maxlength="35" />&nbsp;​
    <input name="imageField" alt="Search" type="image"
    src="../images/search_button.gif" />​
    </td>
    </form>

    any suggestions appreciated.
    Keith
     
    kkubicek, Jul 16, 2007
    #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. =?Utf-8?B?cGZyYW1wdG8=?=

    can you make echange 2k filter based on keyword like employment

    =?Utf-8?B?cGZyYW1wdG8=?=, Apr 20, 2004, in forum: Microsoft Certification
    Replies:
    1
    Views:
    526
    Mark Fugatt [MVP]
    Apr 22, 2004
  2. Oleg Tipisov
    Replies:
    0
    Views:
    822
    Oleg Tipisov
    Aug 10, 2004
  3. FeatureBug
    Replies:
    3
    Views:
    14,663
    Ivan Ostres
    Sep 3, 2004
  4. Luv-N-Life
    Replies:
    1
    Views:
    3,772
    Luv-N-Life
    Aug 28, 2003
  5. Steve Young

    Subject Title 'Keyword' Poll (possibly offensive)

    Steve Young, Oct 14, 2003, in forum: Digital Photography
    Replies:
    4
    Views:
    364
    Steve Young
    Oct 15, 2003
Loading...

Share This Page