<div class="heading1">
<h3>Search by keyword</h3>

<div class="items">
<div class="item">

<form method="post">
<input type="text" class="css-input" name="search_key" id="search_key" placeholder="Search here">
<input type="submit" name="search" id="search" class="myButton" value="search" >
<div class="clear">
 This is my search keyword code:
 If I give any keyword it should search and display the particular product. otherwise it should show"no matches found" How to do? with in the page or some other page?
 its urgent
3 Years
Discussion Span
Last Post by rpv_sen

Create a page which, given a keyword, will search your data set and print the results. Test that until it works. Then, go back to this page and use Ajax to send a POST to the search page with the keyword as parameter. Attach a success handler to the Ajax call so that the data from the search page can be displayed on the current page.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.