Szablon mrnasesimilarthreadcheck_header powinien wyglądać tak:
Kod:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
$("#inputthreadtitle").bind("blur", function(){
var value =$(this).val();
$('td#similarthreadcheckcontent').html('<img src="$stylevar[imgdir_misc]/13x13progress.gif" />');
$.ajax({
type: "GET",
url: "ajax.php",
data: "do=getsimilarthreads&title="+value,
success: function(msg){
$('td#similarthreadcheckcontent').html(msg);
}
});
});
});
</script>