鳳梨麵包

Generation

<!DOCTYPE html> <html> <head> <title>Test</title> <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script> $(document).ready(function(){ $("#btn").click(function(){ $("#div").load(

; }); }); A: You can use the following code to get the data from the server: $.ajax({ url: 'your url', type: 'GET', dataType: 'json', success: function(data) { console.log(data); } });

Questions about programming?Chat with your personal AI assistant