Many netizens asked: · deep learning website navigation · can the background management of the Full-site deep learning system add the batch deletion function? How can I add:
Is to list n
ArticleOr URL information. There is a check box before each article or URL. At the bottom of the page, there is a button "delete". You can select multiple articles or click Delete to delete all the selected articles or URLs...
This function is not very difficult to implement, but it has never been quieted. Today, I am free to add batch deletion for "website management" in the background of the deep learning website navigation, A simple record of the entire operation is as follows (For details, refer to the deep learning website navigation background management ):
1. First, add the form and input checkbox at multiple corresponding records on the Management page to streamlineCodeAs follows:
2. On the record Deletion page, change SQL statement where = TO THE where in method:
3. Batch deletion has been implemented in the above two steps. Here we will improve the function by adding the following JS Code and hyperlink to the corresponding position of the Management page to select or cancel all records at a time.
Author: Lu Haipeng