function changeSelectToInput($id) {
$id.replaceWith($('<input />').attr({
type: 'text',
id: $id.attr('id'),
name: $id.attr('name'),
value: $id.val(),
class: 'readonly',
readonly: 'readonly'
}));
}


+ Recent posts