How to get old value and new value from input type text;
<input type="text" name="quantity-row_111" value="1" id="quantity-row_111" onchange="myfunction(id);">
function myfunction(id){
var oldvalue = getoldvalue();
var newvalue = getnewvalue();
}