Meryem, for any change in value in Main lookup, the Link lookup field is unset. Hence, onchange event is also fired for the Link lookup. Continue reading...