/ Published in: JavaScript
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 $('.delete').click(function () { var t = this; $.post("test2.php", { id : txt }, function () { // do something with 't' }); });
Comments
                    Subscribe to comments
                
                