PlayFrameWorkTraining / PlayFrameWork-Training

Training PlayFrameWork to prepare for web project.
0 stars 0 forks source link

Using AJAX to send GET request and receive JSON data from the server for Search function. #9

Open anh-khue opened 7 years ago

anh-khue commented 7 years ago

Complete the Search function on issue #6 AJAX is now used to prevent the default submit method of the form. Instead, it will send the request to server on behalf of the form and also, receive the response sent from the server without reloading the web page. This will be separated into 2 stages:

  1. Receive response from server and print to the console of the browser.
  2. Using jQuery to append received data to the table with out reloading the page.
anh-khue commented 7 years ago

Result using AJAX on browser's console. capture

anh-khue commented 7 years ago

@hieunguyenvanLC Please check and close the issue.