I am a complete noob trying my hands on Ajax and jQuery. Following an online tutorial, I have successfully created a search engine using MySQL as the backend database;
<script> $(function() { $(".search_butn").click(function() { </script> <form method="post" action="search.php"> <div id="DIV"> <input type="text" name="search" id="input_box" class='input_box'/> <input type="submit" value="Search" class="search_butn" /> </div> </form><br/> <div> <div id="searchresults"> </div> <ul id="results" class="update"> </ul> </div>
Now I want to take another step by doing a search using a RESTful api, like this one from Solr http://localhost:9090/solr/select?q=employee%3A%28james+blunt%29&wt=json&indent=true I need someone then to show me how I can do this.
source share