Update _test folder
This commit is contained in:
12
_test/ajax/ajax-sqlite-read/js/script.js
Normal file
12
_test/ajax/ajax-sqlite-read/js/script.js
Normal file
@@ -0,0 +1,12 @@
|
||||
$(document).ready(function(){
|
||||
$('#btn_display').on('click', function(){
|
||||
$.ajax({
|
||||
url: 'data.php',
|
||||
type: 'POST',
|
||||
data: {res: 1},
|
||||
success: function(data){
|
||||
$('#result').html(data);
|
||||
}
|
||||
});
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user