Complete product-num ajax function.