摘要: <a href="#" class="txl_1" title="点击电话快速发送短信" onclick="javascript:transvalue()">输出的字条串</a><form name="hiddenform"><input type="hidden" name="MOBI" value="测试的值"></form>就在这里通过onclick把隐藏域里的值传到另外 阅读全文
posted @ 2012-11-09 15:42 白竹0301 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 2007年09月06日 星期四 00:30 1如何将字串 String 转换成整数 int? A. 有两个方法: 1). int i = Integer.parseInt([String]); 或 i = Integer.parseInt([String],[int radix]); 2). int i = Integer.valueOf(my_str).intValue(); 注: 字串转成 Double, Float, Long 的方法大同小异. 2 如何将整数 int 转换成字串 String ? A. 有叁种方法: 1.) String s = String.valueOf(i); 2 阅读全文
posted @ 2012-11-09 10:51 白竹0301 阅读(145) 评论(0) 推荐(0) 编辑