摘要:
js枚举//4js枚举 function getall() { var sw = document.all.tags("input") for (var i = 0; i < sw.length; i++) { $("qwe").innerHTML += ("ID为:"+sw[i].id +" ,值为: "+sw[i].value + "<br>"); } }<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transit 阅读全文
摘要:
http://blog.nt00.com/?p=290<!– 邮件发送器 –> <bean id=”mailSender” class=”org.springframework.mail.javamail.JavaMailSenderImpl”> <property name=”host” value=”${javax.mail.host}” /> <property name=”username” value=”${javax.mail.username}” /> <property name=”password” value=”${ja 阅读全文
摘要:
<bean id="freemarderConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer"> <property name="templateLoaderPath" value="/ftl/"/> <!-- 错误 No setter found for property 'templateLoaderPath' in class 'org.spr 阅读全文
摘要:
which of the following is used to solve the problem of enumerations in JavaScript? ------Generators //写法1: var ShareType = ...{OnlyMe : 0 ,IAndFriend : 1 ,All : 2 }; //写法2: var ShareType = ...{}; ShareType.OnlyMe = 0; ShareType.IAndFriend = 1; ShareType.All = 2; 阅读全文