Translation update done using Pootle.
[phpmyadmin-themes.git] / js / tbl_select.js
blob88796bcfc7e0fc81e1ed61ef9c48eaa510b97c44
1 /**
2  * @fileoverview JavaScript functions used on tbl_select.php
3  *
4  * @requires    jQuery
5  * @requires    js/functions.js
6  */
8 /**
9  * Ajax event handlers for this page
10  *
11  * Actions ajaxified here:
12  * Table Search
13  */
14 $(document).ready(function() {
16     /**
17      * Ajax event handler for Table Search
18      * 
19      * @uses    PMA_ajaxShowMessage()
20      */
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);
30         })
31     })
32 }, 'top.frame_content'); // end $(document).ready()