Since your input
have been added dynamically to the page, all the events will not be available to this element, in this case you need to apply event delegation in order to attach those events to this newly added input
elements:
$("#scale tr:last").on("focusout",".ip",function() {
// Your code here
})