<script>
str="";
test=prompt('영문자를 입력하세요 - 대소문자 혼용가능','AbCdEf');
for(i=0;i<test.length;i++){
if(test.charCodeAt(i)<90&&test.charCodeAt(i)>65){ //대문자의경우
str+=i+":"+test.charAt(i)+":"+test.charAt(i).toLowerCase()+"<br>"; //소문자로
} else {
str+=i+":"+test.charAt(i)+":"+test.charAt(i).toUpperCase()+"<br>"; //소문자는 대문자로
}
}
document.write(str);
</script>
str="";
test=prompt('영문자를 입력하세요 - 대소문자 혼용가능','AbCdEf');
for(i=0;i<test.length;i++){
if(test.charCodeAt(i)<90&&test.charCodeAt(i)>65){ //대문자의경우
str+=i+":"+test.charAt(i)+":"+test.charAt(i).toLowerCase()+"<br>"; //소문자로
} else {
str+=i+":"+test.charAt(i)+":"+test.charAt(i).toUpperCase()+"<br>"; //소문자는 대문자로
}
}
document.write(str);
</script>
게시글 목록
| 번호 | 제목 |
|---|---|
| 10624 |
jQuery
Easing Functions Cheat Sheet
|
| 10618 | |
| 10614 | |
| 10607 |
jQuery
좌우 슬라이드메뉴와 상하 슬라이드 메뉴
6
|
| 10606 | |
| 10603 | |
| 10599 | |
| 20077 | |
| 10598 | |
| 10597 | |
| 10595 | |
| 10593 | |
| 10591 |
Mobile
모바일 웹 개발에 큰 도움이 되는 피모 브라우저
1
|
| 10590 |
PHP
간단한 쿠폰번호 생성
|
| 10588 |
PHP
xml 파싱 예제
1
|
| 10586 |
PHP
eval
1
|
| 17645 |
제안서
제안서 유용한 도형
13
|
| 10585 |
jQuery
롤오버+슬라이드 질문드립니다.
|
| 10584 |
jQuery
jQuery path plugin
|
| 10580 |
JavaScript
아이폰일때 상단 검색바 숨기기
3
|
| 20070 | |
| 10579 | |
| 10578 | |
| 10574 | |
| 10573 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기