fix : 상품관리 > 상품조회 > 상품 등록/복사재등록/수정 - input 값 trim 공통함수 추가
This commit is contained in:
@@ -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());
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user