Hi.
I'm updating some data from sidebar when I click one element on mainside. When it's updating data from external file (calling same query what is in original sidebar) those links are not clickable any.
Here is clip from my custom.js
$(function() {
$(".removeItem").click(function() {
var commentContainer = $(this).parent();
var id = $(this).attr("itemID");
var string = 'itemID='+ id;
$.ajax({
type: "POST",
url: "getRemove.php",
data: string,
cache: false,
success: function(){
$("#basket").load("getBasketUpdate.php");
}
});
return false;
});
});
Well as most can read this clearly, i'll explain it anyway. When user want's to remove item from basket, clicks del link and item is removed from database, after that, update basket sidebar whit fresh data (remove item is gone)..
Anyways, after that, when hit del item button, nothing happens!
Thanks for all help!!