caching context


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $('.delete').click(function () {
  2. var t = this;
  3. $.post("test2.php", { id : txt }, function () {
  4. // do something with 't'
  5. });
  6. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.