This runs for the first input.Edit I click, but then never again:

$("input.Edit").livequery('click',function(event){
     $.get("index.php?fnc=ajax_get_newHTML", { id: $
(this).attr("id") }, function(newHTML){
          $("body").append(newHTML);
     });
    return false;
});

Why doesn't it bind to all future input.Edit's??

ALSO:

newHTML includes <a href="" id="newItem">Item</a>

A livequery call is supposed to add a 'click' event handler to
"a#newItem":

$("a.newItem").livequery('click',function(event){
     var tag = prompt("Please enter the new tag:");
     return false;
});

But the livequery for $("a#newItem") doesn't happen.  Also, the first
livequery doesn't work for future input.Edit's either.

any thoughts?

thanks
Jason

Reply via email to