摘要: 使用jquery实现单选框,复选框,下拉菜单的提交并对将结果返回到前台进行显示。页面提交表单 1 <form id="form1" name="form1" method="post" action="sub.action"> 2 <input type="checkbox" name="d" id="d1" value="da1"/>da1 3 <input type="checkbox&quo 阅读全文
posted @ 2013-01-17 21:50 Princeling 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: 一直想感受服务器端的javascript编程,看了看Node.js感觉很不错,先来安装一下Node.js的环境吧。这是官方的安装方法(来源于Github)Installing on WindowsManual installThehttp://nodejs.org/dist/latest/node.exefile isastandalone Windows executable that contains only the last version of Node.js engine.Thehttp://nodejs.org/dist/npm/directory contains the la 阅读全文
posted @ 2012-12-29 00:50 Princeling 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 读取excel表格(JAVA)偶尔写个小程序,让办公更简单一些。在这里使用到JXL(Java Excel API)用来动态读写Excel文件。JXL的主页是:http://www.andykhan.com/jexcelapi/,可以在这里下载到它的最新的版本。将包下载下来后将里面的jar文件导入到工程中。InputStream is = new FileInputStream(new File("C:\\test.xls"));Workbookrwb = Workbook.getWorkbook(is);//通过Workbook静态方法获取文件接下来对Excel表格中She 阅读全文
posted @ 2012-11-04 16:12 Princeling 阅读(184) 评论(0) 推荐(0) 编辑