Hi,
I am having a button and wrote two functions for the same button
Like initially
$("#FieldSetting .button").eq(0).unbind('click');
$('.button').eq(0).click(function(){alert('initally');})
later in the JQUery when i click on a div i wrote another function to be implemented by the same button as
$("#fb_contentarea_col1down21 div").live("click", function(){
$("#FieldSetting .button").eq(0).unbind('click');
$('.button').eq(0).click(function(){alert("later");})
});
In both the cases i have unbinded the events but it didnt works..
My first function for the button works initally but afer i make use of the second function ,then my first function not working,the second function didnt ever unbinds ..
please suggest me to resolve it.