You would wanna do something like:
Code:
<script type="text/javascript">
function change_it(){
document.getElementById('this_div1').innerHTML='<select><option>1</option><option>2</option><option>3</option></select>';
document.getElementById('checkboxes').innerHTML='Check: <input type="radio" />';
}
</script>
<div id="checkboxes">
Check: <input type="radio" onChange="change_it()"/>
</div><br />
<div id="this_div1">
Check the radio button above...</div>
Edit:
I edited the code :P so if you tried it already try the updated 1.
Bookmarks