/** * @fileoverview JavaScript functions used on tbl_select.php * * @requires jQuery * @requires js/functions.js */ /** * Ajax event handlers for this page * * Actions ajaxified here: * Table Search */ $(document).ready(function() { /** * Set a parameter for all Ajax queries made on this page. Don't let the * web server serve cached pages */ $.ajaxSetup({ cache: 'false' }); /** * Ajax event handler for Table Search * * @uses PMA_ajaxShowMessage() */ $("#tbl_search_form").live('submit', function(event) { event.preventDefault(); PMA_ajaxShowMessage(PMA_messages['strSearching']); // add this hidden field just once if (! $(this).find('input:hidden').is('#ajax_request_hidden')) { $(this).append(''); } $.post($(this).attr('action'), $(this).serialize(), function(data) { $("#searchresults").html(data); }) }) }, 'top.frame_content'); // end $(document).ready()