标签:java io re cti c javascript
<script type="text/javascript">
(function($) {
$.fn.disable
= function() {
/// <summary>
/// 屏蔽所有元素
/// </summary>
/// <returns type="jQuery" />
return
$(this).find("*").each(function() {
$(this).attr("disabled", "disabled");
});
}
$.fn.enable = function() {
/// <summary>
///
使得所有元素都有效
/// </summary>
/// <returns type="jQuery" />
return $(this).find("*").each(function() {
$(this).removeAttr("disabled");
});
}
})(jQuery);
</script>
标签:java io re cti c javascript
原文地址:http://www.cnblogs.com/lengv10/p/3699548.html