tags:

views:

39

answers:

2

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!!!

+2  A: 

There is a jQuery or $ missing here :

jQuery("#sendbid").live("click", function() {
    jQuery("#personaltab").empty();
})

$("#sendbid").live("click", function() {
    $("#personaltab").empty();
})
mexique1
+1 - Wow....I *completely* missed that one
Nick Craver
A: 

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 :-)

Y.G.J