Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a search on click

Status
Not open for further replies.

Figzus

Programmer
Joined
Mar 21, 2005
Messages
36
Location
US
Im working this online cell phone application where you can search using two options Cell Phone or Last Name. I have the SQL and options code correct, but Im having trouble with the on click event and populating the results in table. Im just not sure how when you click on the Find button how to code it so it searches the database.If anyone can help that would be great thanks!
 
The click event will occur on the browser side only.

Since this is the ASP forum, I can only assume you are asking about server side code. To do it on the server, create a form on your HTML page and set the action property of the form element to reference an ASP. In the ASP you will process the values submitted in the HTML form, connect to the database to do your business, and then build a response page that shows the results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top