- 浏览: 75009 次
- 性别:
- 来自: 武汉
最新评论
文章列表
import java.text.DecimalFormat;
public class ChinaNum {
public static void main(String[] args) {
ChinaNum chinaNum=new ChinaNum();
System.out.println(chinaNum.getChinaNum(6007567));
System.out.println(chinaNum.getChinaNum(987654321));
System.out.print ...
<html>
<head>
<title>拖动行测试</title>
<script language="javascript">
var beginMoving=false;
function MouseDownToMove(obj){
obj.style.zIndex=1;
obj.mouseDownY=event.clientY;
obj.mouseDownX=event.clientX;
beginMoving=true;
obj.setCapture();
}
function ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset ...
select * from table
order by convert(first_name using gb2312) asc
<html>
<head>
<title>MyHtml.html</title>
<script type="text/javascript">
if(document.all){
alert(document.getElementById("div1"));
alert(document.getElementsByName("btn1"));
}
</script>
</he ...
dom节点删除自己的方法
- 博客分类:
- JavaScript
obj.parentNode.removeChild(obj);
<html>
<head>
<script type="text/javascript">
function show(id,event){
if(event.keyCode==13){
alert(document.getElementById(id).nextSibling.nextSibling.value);
}
}
</script>
</head>
<body>
<input type="text" id="d1 ...