jquery modified onclick to onchange
jquery modified onclick to onchange