<script type="text/javascript">
var dataString2 = 'run=captchagood&comment=' + comment;
$.ajax({
    type: "POST",
    url: "process.php",
    data: dataString2,
    dataType: "json",
    error: 'error',
    success: function (data) {
        if (data.response === 'captchasuccess') { 
            $('div#loader').find('img.load-gif').remove();
            $('div#loader').append('<span class="success">Thanks for your comment!</span>');
            $('div#loader').hide().fadeIn('slow');
            $('span.limit').remove();
            $('ol#commentlist').prepend(data.comment);
            $('input#submit-comment').unbind('click').click(function () {
                return false;
            });
        };
    }
});
</script>
Ben geçerli sayfada bir açıklama listesine aşağıdaki kodu eklemek için yukarıdaki gerekir.
COMMENT-ID-NUMBEER = this will be part of the json response above
COMMENT-POST-DATE = this will be part of the json response above
COMMENT-TEXT = this will be part of the json response above  
USER-GENDER = this is in the PHP session
USER-IMAGE-URL = this is in the PHP session
USER-NAME = this is in the PHP session  
Burada, sayfanın içine aşağıdaki kodu eklemek gerekir ama öğeleri ile ben de uygun locatons sokulacak doğrudan yukarıda sıraladığım budur.
<ol class="commentlist" id="commentlist">
    <!-- START Comment block -->
    <li class="thread-even"  id="COMMENT-ID-NUMBEER"> 
    	<div class="photocolumn"> 
    		<div class="imageSub" style="width: 100px;"> 
    			<img class="USER-GENDER" src="USER-IMAGE-URL" width="100"/>
    			<div class="blackbg"></div>
    			<div class="label">USER-NAME</div>
    		</div>
    	</div>
        <div class="commenttext"> 
        	<span class="comment_date">COMMENT-POST-DATE</span>
    		<p>COMMENT-TEXT</p> 
    	</div> <!-- END COMMENTTEXT -->
    	<div class="modcolumn">
    		<a href=""><img class="delete " src="../../images/icons/error.gif"></a> 
    		Delete
    	</div>
    </li> 
    <!-- END comment block-->
</ol>
Başka bir soru, benim komut listesi hücreler alternatif arka plan rengi, bu yüzden nasıl ben class = "thread-hatta" ya da class = "thread-odd" son öğeye bağlı olarak eklemek yapabilir?