i have
$("#sendbid").live("click", function() {
//here will be the ajax
//after success:
$("#personaltab").empty();
})
the personaltab is in the original code. the content is created on ajax and then when the user continue i want to check with live and empty the div
not working - i have tried it all!!!
There is a jQuery or $ missing here :
jQuery("#sendbid").live("click", function() {
jQuery("#personaltab").empty();
})
$("#sendbid").live("click", function() {
$("#personaltab").empty();
})
Solved: i had inside a and for some reason the div that need to get the ajax by his id was duplicated
don't ask :-)