Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > search keyword

Reply
Thread Tools

search keyword

 
 
kkubicek kkubicek is offline
Junior Member
Join Date: Jul 2007
Posts: 1
 
      07-16-2007
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=45 0,
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: keyword checker - keyword.kwlist Hamilton, William Python 4 05-13-2007 06:31 AM
keyword checker - keyword.kwlist tom@finland.com Python 6 05-10-2007 04:53 PM
How to count the sponsored links returned from keyword search... Ravindra ASP .Net 2 12-17-2005 04:13 AM
search within a search within a search - looking for better way...my script times out Abby Lee ASP General 5 08-02-2004 04:01 PM



Advertisments