라디오박스 세트

2009/11/19 21:28 from
크리에이티브 커먼즈 라이선스
Creative Commons License
// form radio element에서 체크된 값 반환
function getRadioCheckedValue (array) {
    var result;
    for (var i = 0; i < array.length; i++) {
        if ( array[i].checked ) {
            result = array[i].value;
        }
    }

    return result;
}

//라디오에 값 셋팅
function doRadioCheck(checkname, value){
            var ckeckObject =checkname;
            ckeckObject[value-1].checked=true;
        }
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 아나키 트랙백 0 : 댓글 0

SELECT OPTION 에 선택값 지정

2009/11/18 18:32 from
크리에이티브 커먼즈 라이선스
Creative Commons License
//SELECT OPTION 에 선택값 지정
    function selectValue ( _element, _value ) {

        _optionList = $(_element).options;

        for ( i=0 ; i<_optionList.length ; i++) {
            if ( _value == _optionList[i].value ) {
                _optionList[i].selected = true;
            }
        }
    }
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 아나키 트랙백 0 : 댓글 0
크리에이티브 커먼즈 라이선스
Creative Commons License


var class_name = $('class_idx').options[document.srvQForm.class_idx.selectedIndex].text;
오브젝트..options[선택된 인덱스값].text;
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 아나키 트랙백 0 : 댓글 0
크리에이티브 커먼즈 라이선스
Creative Commons License
              "<td id='email" + userDTO.idx + "' name='email" + userDTO.idx + "' width='10%' align='center'><a href=\"javascript:opener.movValue('" + userDTO.org_code+","+userDTO.org_name + "');\">"+"선택"+"</a></td>" +


                        +"<td><a href=javascript:opener.formSet(\""+_dtoList.org_idx+"\",\""+_dtoList.org_name_kor+"\");self.close();><img src='/jsp/common/btn/btn3_choice.gif' alt='' align='absmiddle'></a></td>"
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 아나키 트랙백 0 : 댓글 0
크리에이티브 커먼즈 라이선스
Creative Commons License

!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>dyna Table</title>
<script type="text/javascript">
    var rowCnt = 0;

    function addRow(tbodyId) {
        var myTbody = document.getElementById(tbodyId);

        var row = document.createElement("tr");
        var rowId = "row" + rowCnt++;

        var cell = document.createElement("td");
        var cell2 = document.createElement("td");
        var input = document.createElement("input");

        input.setAttribute("type", "text");
        input.setAttribute("name", "present");
        input.setAttribute("value", rowId);

        var button = document.createElement("input");

        if (isIE()) {
            row.id = rowId;
            button = document.createElement("<input onclick=\"delRow('" + rowId
                    + "')\">");
        } else {
            row.setAttribute("id", rowId);
            button.setAttribute("onclick", "delRow('" + rowId + "')");
        }

        button.setAttribute("type", "button");
        button.setAttribute("value", "remove");

        cell.appendChild(input);
        row.appendChild(cell);
        cell2.appendChild(button);
        row.appendChild(cell2);

        myTbody.appendChild(row);
    }

    function delEventPresentRow(buttonObj) {
        var tableBody = document.getElementById("targetBody");
        var index = buttonObj.parentElement.parentElement.rowIndex;
        tableBody.removeChild(tableBody.childNodes[index]);
    }

    function delRow(rowId) {
        var row = document.getElementById(rowId);
        row.parentNode.removeChild(row);
    }

    function isIE() {
        var name = navigator.appName;
        if (name == "Microsoft Internet Explorer")
            return true;
        else
            return false;
    }
</script>
</head>
<body>

<table id="myTable" border="1">
    <tbody id="myTbody">
        <tr>
            <td>test</td>
        </tr>
    </tbody>
</table>
<br />
<input type="button" value="dkjl" onclick="addRow('myTbody')"/>
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 아나키 트랙백 0 : 댓글 0
크리에이티브 커먼즈 라이선스
Creative Commons License
  • MBTI가 istp 형이군… 일부는 맞는 것도 같고.. 설문자체도 어중간 했으니 어쩔 수 없는 건가.2009-10-13 13:40:00

이 글은 아나키님의 2009년 10월 13일의 미투데이 내용입니다.

Posted by 아나키 트랙백 0 : 댓글 0
크리에이티브 커먼즈 라이선스
Creative Commons License
ServerLifecycleListener: processContainerAddChild: Throwable
javax.management.InstanceAlreadyExistsException: Catalina:type=Context,path=/,host=localhost,service=KWP
    at mx4j.server.MX4JMBeanServer.register(MX4JMBeanServer.java:863)
    at mx4j.server.MX4JMBeanServer.registerImpl(MX4JMBeanServer.java:830)
    at mx4j.server.MX4JMBeanServer.registerMBeanImpl(MX4JMBeanServer.java:769)
    at mx4j.server.MX4JMBeanServer.registerMBean(MX4JMBeanServer.java:753)
    at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:207)
    at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:359)
    at org.apache.catalina.mbeans.ServerLifecycleListener.processContainerAddChild(ServerLifecycleListener.java:1298)
    at org.apache.catalina.mbeans.ServerLifecycleListener.containerEvent(ServerLifecycleListener.java:129)
    at org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1364)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:789)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:538)
    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:265)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:731)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:649)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:379)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:808)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:335)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1156)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:697)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1148)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:311)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:2213)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:484)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:371)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:134)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:151)


 <Context path="/" docBase="D:\LMS\KWP_CRUD\WebRoot"  debug="0" reloadable="true" crossContext="true"/>

path지정할 때 루드지정은 "/" 아닌 "" 이다.



이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 아나키 트랙백 0 : 댓글 0

해질녁의 인천대교

2009/08/14 21:26 from 展示會
크리에이티브 커먼즈 라이선스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 아나키 트랙백 0 : 댓글 0
크리에이티브 커먼즈 라이선스
Creative Commons License
보통은 자신의 핸드폰에서 114를 걸면 무료지만
핸폰을 잃어버렸다던가 해서
그렇게 못할 경우에는...
그냥 돈이 들어가기 마련이죠.

각 통신사마다 해당 무료 번호가 있지만..
잘 알지 못하시는 분들이 많은 것 같네요.
그래서 함 정리했습니다.

★SKT

유료 : 1599-0011, 1566-0011

무료 : 114(휴대폰) / 080-011-6000(일반전화)



★KTF

유료 : 1588-0010

무료 : 114(휴대폰) / 080-080-1618(휴대폰/일반전화)



★LGT

유료 : 1544-0010

무료 : 114(휴대폰) / 080-019-7000(휴대폰/일반전화)



◆KT

무료 : 100(일반전화) / 080-2580-016,018 (휴대폰/일반전화)



◆하나로텔레콤

무료 : 080-8282-106 (휴대폰/일반전화)



◆데이콤

유료 : 1544-0001

무료 : 080-850-8572 (휴대폰/일반전화)



◆온세통신

유료 : 1688-1000, 1688-2000

무료 : 083-100 (휴대폰/일반전화)
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 아나키 트랙백 0 : 댓글 0

Sora Aoi가 왔다더군

2009/05/08 19:10 from 雜談
크리에이티브 커먼즈 라이선스
Creative Commons License

케이블에도 출현하고
공중파에서는 인터뷰도 한다던데..
감히 AV배우가?

뭐 이런 식인 거 같은데...
왜 그럴까 AV배우가 그런데 출현한다는 거 보다
그 행보에 호들갑떠는 사람들이 더 우스워 보이는 것은...
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 아나키 트랙백 0 : 댓글 0