html radio button javascript set checked





I Have a horizontal radio button set and I want to change the selected ( checked) item from code having loaded some data via Ajax. The html isI have tried the obvious setting the underlying radio button attribute to checked something like. Please try this i run this code in all browser in this code onload javascript event i call ch() function in ch()function i set radio button is checked the javascript. check radio button