call javascript function onchange event of dropdown list April 9, 2024 by Tarik Your code is working just fine, you have to declare javscript method before DOM ready.