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

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? jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.

  4. Match A, B, and C into the JQuery event handler for a data table
    • A: ‘click’
    • B: ‘.delete-btn’
    • C: ‘#data-table’

    $(#data-table).on(click, .delete-btn, function() { // code });

  5. Why do we use JQUERY with CRUD? JQuery is a JavaScript library that simplifies JavaScript programming. It is used to traverse HTML documents, handle events, perform animations, and add Ajax interactions to web pages. jQuery also provides capabilities for developers to create plug-ins on top of the JavaScript library.

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.