document.getElementById('stone_actual_cost').value =response['total_actual_cost'];
solution:
var elem = document.getElementById('stone_actual_cost');
if(typeof elem !== 'undefined' && elem !== null) {
document.getElementById('stone_actual_cost').value =response['total_actual_cost'];
}
No comments:
Post a Comment