Added input argument passed to onchange event