2 * @fileoverview JavaScript functions used on Database Search page
3 * @name Database Search
6 * @requires js/functions.js
10 * AJAX script for the Database Search page.
12 * Actions ajaxified here:
13 * Retrieve result of SQL query
16 $(document).ready(function() {
19 * Set a parameter for all Ajax queries made on this page. Don't let the
20 * web server serve cached pages
27 * Ajax Event handler for retrieving the result of an SQL Query
29 * @uses PMA_ajaxShowMessage()
31 $("#db_search_form").live('submit', function(event) {
32 event.preventDefault();
34 PMA_ajaxShowMessage(PMA_messages['strSearching']);
36 $(this).append('<input type="hidden" name="ajax_request" value="true"');
38 $.get($(this).attr('action'), $(this).serialize() + "&submit_search=" + $("#buttonGo").val(), function(data) {
39 $("#searchresults").html(data);
42 }, 'top.frame_content'); // end $(document).ready()