一段JavaScript代码(2009.11.24)
<script type="text/javascript">
$(document).ready(function() {
var obj = $("#ctl00_ContentPlaceHolderMain_txtHiddenUserType").val();
if (obj == "1") {
$("#ctl00_ContentPlaceHolderMain_tableSearch").hide();
$("#ctl00_ContentPlaceHolderMain_btnAdd").hide();
$("#content_title").hide();
$("#ctl00_ContentPlaceHolderMain_btnDelete").hide();
}
}
);
</script>
$(document).ready(function() {
var obj = $("#ctl00_ContentPlaceHolderMain_txtHiddenUserType").val();
if (obj == "1") {
$("#ctl00_ContentPlaceHolderMain_tableSearch").hide();
$("#ctl00_ContentPlaceHolderMain_btnAdd").hide();
$("#content_title").hide();
$("#ctl00_ContentPlaceHolderMain_btnDelete").hide();
}
}
);
</script>
好奇怪的代码,看不懂,留着以后研究。
http://topic.csdn.net/u/20091112/08/ac791605-44c5-47ed-99ec-5bc2b6dcae9d.html