If I do not define onchange() it works.