You could save the id in the html. Here's an example. <a id="345" href="#delete"> $("a").click(function(){ $.get("test.php", { id: this.id, action:this.href.substr(1) } ); });
~Sean
You could save the id in the html. Here's an example. <a id="345" href="#delete"> $("a").click(function(){ $.get("test.php", { id: this.id, action:this.href.substr(1) } ); });
~Sean