thank you!
Or you can use livequery plugin, like this:
script type=text\javascript src=PATH_TO_jquery.livequery.js/
script
script
$(document).ready(function() {
$(.button_plus).livequery('click', function() {
$(this).load( ajax.php, {template: testTR},
function(output){
For example...
$(document).ready(function() {
function clickHandler(e){
var thisTR = $(this).parent().parent();
$.post( ajax.php, {template: testTR}, function(output){
$(output).insertAfter(thisTR).find('.button_plus')
.click(clickHandler);
styleTables();
3 matches
Mail list logo