내부연계시스템 관리 쿼리 및 화면 수정
This commit is contained in:
@@ -45,8 +45,10 @@
|
||||
$("input,select,textarea").each(function(){
|
||||
var name = $(this).attr('name');
|
||||
//.toUpperCase();
|
||||
if ( name != null )
|
||||
$(this).val(json[name.toUpperCase()]);
|
||||
if ( name != null ) {
|
||||
var raw = json[name.toUpperCase()];
|
||||
$(this).val(decodeHtml(raw));
|
||||
}
|
||||
});
|
||||
},
|
||||
error : function(e) {
|
||||
@@ -55,6 +57,12 @@
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function decodeHtml(html) {
|
||||
var txt = document.createElement("textarea");
|
||||
txt.innerHTML = html;
|
||||
return txt.value;
|
||||
}
|
||||
$(document).ready(function() {
|
||||
var key = "${param.sysCd}";
|
||||
var returnUrl = '${param.returnUrl}';
|
||||
|
||||
Reference in New Issue
Block a user