一、隐藏和显示元素
$('#button_save_12').css('display', 'none'); // 隐藏按钮
$('#button_save_12').css('display', 'display'); // 显示按钮
// 或者采取
$('#button_save_12').hide();
$('#button_save_12').show();
二、设为禁用,只读
$('#button_save_12').attr("disabled", "disabled"); // 禁用
$('#button_save_12').attr("disabled", "disabled"); // 取消禁用
三、Ligerui设为禁用
$("#button_save_12").ligerComboBox({ width: '118', disabled: true }); // 禁用 false 是启用
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn