Home JQUERY & CRUD HACKS
Post
Cancel

JQUERY & CRUD HACKS

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

Notes

Question: What are some real life applications of jQuery? Name at least two you can think of.

  • used to make dropdown menus appear smoothly on web pages
  • simplify implementation of AJAX, update parts of (not full) web and make asynchronous requests to server

Free Response and MCQ

  1. What does CRUD stand for?
    • Create
    • Read
    • Update
    • Delete
  2. What are the HTTP verbs that are associated with each CRUD action?
    • C - POST
    • R - GET
    • U - PUT
    • D - DELETE
  3. What is JQuery? Javascript library that simplifies HTML document manipulation, AJAX, web development interaction, etc.

  4. 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 });

  5. Why do we use JQUERY with CRUD? We use jQuery with CRUD because it makes it easy to perform the create read update delete operations on dawithout having to write a lot of code, can connect the frontend jQuery with backend CRUD easily

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
IDNameEmailActions

This post is licensed under CC BY 4.0 by the author.