Basic Table Search now works. Need to handle some error cases

This commit is contained in:
ninadsp
2010-07-12 00:14:05 +05:30
parent 4eb4d318bb
commit 35c922e704
2 changed files with 20 additions and 2 deletions

17
js/tbl_select.js Normal file
View File

@@ -0,0 +1,17 @@
/**
* JavaScript functions used on tbl_select.php
*/
$(document).ready(function() {
$("#tbl_search_form").live('submit', function(event) {
event.preventDefault();
PMA_ajaxShowMessage(PMA_messages['strSearching']);
$(this).append('<input type="hidden" name="ajax_request" value="true" />');
$.post($(this).attr('action'), $(this).serialize(), function(data) {
$("#searchresults").html(data);
})
})
}, 'top.frame_content');