본문 바로가기
반응형

JavaScript7

Javascrpt EnterKey 대신 TabKey 로 변환 (possible to switching enter key with tab key?) 웹폼을 작성하다보면 일리리 컨트롤의 다음 포커스(Next Control Focus)를 지정하는 데 힘들다. 탭이 너무 많다면 일리리 keydown event를 지정하기 힘들지 않는가? 우린 프로그래머다 쉽게하자 possible to switching enter key with tab key? 여러 방법중 간단히 다음 컨트롤로 EnterKey(13)키를 누를때 TabKey(9)로 변환하는 Javascript를 이용하여 간단히 해결할 수 있다. 관련글은 http://forums.asp.net/p/969222/1217856.aspx 의 토론을 참고하였다. 그외 관련 여러가지 방법이 있다. http://yacoding.blogspot.com/2007/09/javascript-send-tab-key-on-ente.. 2009. 8. 11.
javascript stringbuilder javascript로 문자열 합치는 방법인데 상속받아서 쓰면 속도가 차이가 난다. 전에 훈스 세미나갔을대 본것이 기억난다. 그냥 변수 + 변수 하는것보다 빠르단다. 코드프로젝트의 들어가는 말이다. Introduction Once upon a time, not so long ago, pushing any significant processing to the client browser was considered a bad practice. Now with the rise in popularity of AJAX style development, it has suddenly become a hot new technology. Unfortunately, the most commonly used browser on.. 2008. 11. 17.
익스플로우 윈도우창 크기구하기 익스플로우 윈도우창 크기구하기 속성설명 clientWidth : Retrieves the width of the object including padding, but not including margin, border, or scroll bar. offsetWidth : Retrieves the width of the object relative to the layout or coordinate parent, as specified by the offsetParent property. offsetParent : Retrieves a reference to the container object that defines the offsetTop and offsetLeft properties of the obj.. 2008. 3. 9.
JavaScript Format (자바스크립트 포멧) Overview of formatting numbers in JavaScript JavaScript doesn't have many built-in methods to format numbers. Most of the time customized code needs to be used. Refer below for a couple rounding methods that JavaScript offers, then next up is some custom code I wrote to do more advanced formatting. 자바스크립트 포멧형을 찾았다. 숫자의 자리수나 소수자리 등을 지정하는 방법이 있다. 내가 정작 원하는 건 string.Format 같은것이 였는 데 없다. javascript .. 2008. 3. 5.
반응형