Hi John, After setting the html by using html method you have to bind the DOM elements using bind method.
Example: <script type="text/javascript"> $(".pge").bind("click", function(e){ var options = {}; $.ajax({ url: "data_retrieval.php", cache: false, type: "GET", data: ({id : this.getAttribute('id')}), success: function(html){ $("#slacker_detail_view").html(html); $('#slacker_detail_view').show('blind', options, 1500); } }); }); </script> Regards, Anurag Pal On Tue, Aug 18, 2009 at 7:40 AM, John <jian.fang.subscr...@gmail.com> wrote: > > Hi, > > How do I get back the DOM element as HTML source using jQuery? The html > () method only returns the innerHTML and it does not include the UI > element itself. But I am more interested in converting the UI element > itself to HTML. > > Thanks in advance, > > Jian