05 2020 档案
摘要:注解获取配置文件的值是中文,需要在service-context.xml中自动引入属性文件添加支持编码UTF-8格式,如下所示: <!-- 自动引入属性文件 --><context:property-placeholder location="/conf/*.properties" file-enc
阅读全文
摘要://获取所有input元素 var inputs = document.getElementsByTagName("INPUT"); //循环清除表单中input内容 for(var i = 0,len = inputs.length;i<len;i++){ if(inputs[i].type ==
阅读全文
摘要:1 //定位id为textarea的文本框 2 $("html,body").animate({scrollTop:$('#textarea').offset().top},100);
阅读全文
摘要:1 //获取id为textarea的滚动条高度 2 var top = $("#textarea")[0].scrollHeight; 3 //滚动条滚动到最下方 4 $("#textarea").scrollTop(top);
阅读全文

浙公网安备 33010602011771号