Load 2nd page to the first one
hello
i want to load a 2nd page in the first one, when you click on a link
when you click on the link you get also the item id.
This is the function that i have so far, but i't doesn't work...
function loadTranslationArea()
{
targetId = $('.edit-trans-link').attr("id").replace('translation-', ''); // dit haalt het id op
$.ajax({
type: "POST",
url: "/ajax.php?com=keywords&item=edit-translation",
data: targetId,
dataType: 'text',
success: function(data){
$("#translation-edit").html(data); //dit zou de replace moeten doen
}
});
}