Good evening,
this is what I'm trying to achieve: on AJAX 'success' the page has to jump to a generated anchor.
this is the AJAX:
success: function(html){
// Refresh certain files
$pc("#load_comments").load("core/comments/view_comment.php")
$pc("#replyid").val('');
$pc("#replyat").val('Write a comment');
$pc("#comment").val('');
// Jump to anchor function
}
The page has to jump this anchor
<a name="lcn_post' .($id). '"></a>
Any ideas? I've tried a few ideas but no success yet.
Thanks in advance :)