if (IsBestanswer == "True")
{
$(bestAnswer).addClass('IsBestanswer');
$(bestAnswer).unbind('click');
}
bestAnswer.live('click', function()
{
// some code....
});
actually i want to disable click property on bestanswer while IsBestanswer == "True". here i am using unbind() function. but it's not working ...
is there any methode for disable like adding some css property ...actually i don't know..