Add testcase for simple SELECT.
[phpmyadmin/dkf.git] / js / tbl_select.js
blob88796bcfc7e0fc81e1ed61ef9c48eaa510b97c44
1 /**
2 * @fileoverview JavaScript functions used on tbl_select.php
4 * @requires jQuery
5 * @requires js/functions.js
6 */
8 /**
9 * Ajax event handlers for this page
11 * Actions ajaxified here:
12 * Table Search
14 $(document).ready(function() {
16 /**
17 * Ajax event handler for Table Search
19 * @uses PMA_ajaxShowMessage()
21 $("#tbl_search_form").live('submit', function(event) {
22 event.preventDefault();
24 PMA_ajaxShowMessage(PMA_messages['strSearching']);
26 $(this).append('<input type="hidden" name="ajax_request" value="true" />');
28 $.post($(this).attr('action'), $(this).serialize(), function(data) {
29 $("#searchresults").html(data);
32 }, 'top.frame_content'); // end $(document).ready()