[jQuery] Re: additional events

2007-11-09 Thread alife
thank you!

[jQuery] Re: additional events

2007-11-07 Thread cjiang
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){

[jQuery] Re: additional events

2007-11-04 Thread Wizzud
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();