Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- $(document).on('click', '.checkbox', function(){
- $(this).parent().addClass('completed');
- $(this).attr('disabled', true);
- uid = $(this).attr('data-uid');
- $.get("/api/complete/" + uid);
- });
- $(document).on('click', '.remove', function(){
- $(this).parent().remove();
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement