1. 헤더 <bsp:findAndReplace find = “<input” find1 = “urEdf2TxtEnbl” replace = “<input readonly” replace1 = “urEdf2TxtRead” > […]
1. 헤더 <bsp:findAndReplace find = “<input” find1 = “urEdf2TxtEnbl” replace = “<input readonly” replace1 = “urEdf2TxtRead” > […]
– inputField Readonly 필드가 Backspace 버튼이 작동함. function disableBack(e){ var key=e.keyCode; if (key==8){ <%– 8 is for Backspace –%> e.returnValue = false; } } <script for=”if_bldat” event=”onkeydown” type=”text/javascript”> disableBack(event); </script>
– event는 onblur, onkeydown 등 적용가능. – 스크립트는 form안에서 구현. – if_bldat는 inputField ID <script for=”if_bldat” event=”onkeydown” type=”text/javascript”> <%– 증빙일 –%> disableBack(event); </script>
lv_find = ‘<input’ . lv_replace = `<input style = ‘ime-mode:active;’`.
출처 : “Webdynpro for ABAP” 도서