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 * Ajax Event handler for retrieving the result of an SQL Query
21 * @uses PMA_ajaxShowMessage()
23 $("#db_search_form").live('submit', function(event) {
24 event.preventDefault();
26 PMA_ajaxShowMessage(PMA_messages['strSearching']);
28 $(this).append('<input type="hidden" name="ajax_request" value="true"');
30 $.get($(this).attr('action'), $(this).serialize() + "&submit_search=" + $("#buttonGo").val(), function(data) {
31 $("#searchresults").html(data);
34 }, 'top.frame_content'); // end $(document).ready()