one very important thing to note is that .live() is not friendly with IE however through about an hour of trial and error i found a solution to replicate the .live()
basically what i did is i embedded my click event within the AJAX success without using live() works like a charm /* ====== Get Events For Today ======= */ 66 $.ajax({ // FF - IE - CHROME - SAFARI 67 type: "POST", // use method POST 68 url: "mypath/getEventsForToday", // path to web service 69 data: "{'key': 'key'}", // data to post 70 contentType: "application/json; charset=utf-8", // content type 71 dataType: "json", // data type 72 success: function(data) { // on success 73 $(".ajaxone").html(""); 74 $(".ajaxone").append(data.d); // add data to target 75 $(".ajaxone a").click(function(e) { // FF - CHROME - SAFARI 76 e.preventDefault(); 77 $(".boxcontent").html(""); 78 $('html, body').animate({ scrollTop: 0 }, 'fast'); // scroll page to top 79 $(".overlay").show(0); 80 $(".overlay").animate({ opacity: 0 }, 0); 81 $(".overlay").animate({ opacity: 0.3 }, 500); 82 $(".box").show(0); 83 $(".box").animate({ opacity: 0 }, 0); 84 $(".box").animate({ opacity: 1 }, 500); 85 $(".boxcontrol").show(0); 86 $(".boxcontrol").animate({ opacity: 0 }, 0); 87 $(".boxcontrol").animate({ opacity: 1 }, 500); 88 $("body").addClass("ovfhide"); 89 $.ajax({ 90 type: "POST", // use method POST 91 url: "mypath/getEventByID", 92 data: "{'key': '" + $(this).attr("id") + "'}", 93 contentType: "application/json; charset=utf-8", 94 dataType: "json", 95 success: function(data) { 96 var thtml = data.d; 97 $(".boxcontent").html(thtml); 98 $(".loading").remove(); 99 }, 100 error: function() { 101 102 } 103 }); 104 }); 105 }, 106 error: function() { // on failure 107 108 } 109 }); On Mon, Jun 15, 2009 at 6:42 AM, John Bill <hexudon...@gmail.com> wrote: > i think that very easy to use json that get message from service. > > 2009/6/15 polygontseng <polygon.ts...@gmail.com> > >> >> We want to make a ajax post to remote usr on an jquery created dom(an >> appended input). but it's not work. >> >> Thanks. >> > >