fix : 상품관리 > 상품조회 > 상품 등록/복사재등록/수정 - input 값 trim 공통함수 추가

This commit is contained in:
이대환
2026-10-08 11:33:23 +09:00
parent 4980c20c23
commit fbd7b4758e
4 changed files with 140 additions and 131 deletions

View File

@@ -923,3 +923,10 @@ $(".comma").each(function () {
var text = $(this).text();
$(this).text(text.replace(/(\d)(?=(?:\d{3})+(?!\d))/g, "$1,"));
});
//해당 클래스를 가진 요소 .trim()
function trimInputValue() {
$('input.input-trim').each(function () {
$(this).val($(this).val().trim());
});
}