function fnSpecDpInit (text, order) {

var specTagObj = $('#specTagName' + order);

var specTagDpObj = $('#specTagDpName' + order);


specTagObj.on('keyup keypress', function(e) {

specTagDpObj.val(text);

});

}


<input type="text" style="width: 100%" onkeyUp="fnSpecDpInit(this.value, '<c:out value="${status.index +1}"/>');" />

+ Recent posts