Purpose: To make sure some elements couldn't be modified, I disabled some elements once the page was loaded. But if I double clicked the element, the element could be modifiable.
Please see the below code.
My version is jquery-1.5.min.js
function disableAccounts($column){
$column.find('.input_application').attr("disabled","true");
}
// this doesn't work since '.input_username' has been disabled.
function addEditUsername($column){
$column.find('.input_username').dblclick(function(){
$(this).removeAttr('disabled');
});
}