JQUERY & CRUD HACKS
hacks for CRUD with JQUERY
Directions
- You really should try to answer the 5 questions below this without any help. These are core concepts that you should at least attempt to learn.
- The update JQUERY function may require a little help but try without first
- Hacks should only take 20 minutes at most
Free Response and MCQ
- What does CRUD stand for?
- Create
- Read
- Update
- Delete
- What are the HTTP verbs that are associated with each CRUD action?
- C - POST
- R - GET
- U - PUT
- D - DELETE
-
What is JQuery? JQuery is a JavaScript library that streamlines tasks such as HTML document manipulation, AJAX, and web development interactions.
- Match A, B, and C into the JQuery event handler for a data table
- A: ‘click’
- B: ‘.delete-btn’
- C: ‘#data-table’
$(C).on(A, B, function() { // code });
- Why do we use JQUERY with CRUD? JQuery makes working with CRUD operations much easier, making the coder have to write less code due to it’s inbuilt methods. This allows for easy connection between frontend JQuery requests and the backend witht the CRUD operations.
Finish the update JQUERY function
- its all the way at the end, you should see the green comment
- you can choose to use the two lines I’ve already given or not
ID | Name | Actions |
---|