Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. $(".delete").click(function () {
  2. if(confirm('You honestly want to delete that student?')){
  3. return deleteForm(this, "form");
  4. } else {
  5. return false;
  6. }
  7. });
  8.  
  9. $(row).find(".delete").click(function () {
  10. return deleteForm(this, prefix);
  11. });
  12.  
  13. $(row).find(".delete").click(function () {
  14. if(confirm('You honestly want to delete that student?')){
  15. return deleteForm(this, "form");
  16. } else {
  17. return false;
  18. }
  19. });
  20.  
  21. $(".delete").on('click', function () {
  22. if(confirm('You honestly want to delete that student?')){
  23. deleteForm(this, "form");
  24. }
  25. });
  26.  
  27. $('.item fieldset').append('<a id="del" class="delete button alert tiny" href="#" style="position: absolute; top: 8px; right:0;">X</a>');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement