Roymj 0 Newbie Poster

Can anyone help me with an ajax script that automatically takes values from a drop down menu and pass it onto another drop down menu.? Both drop down boxes are dynamic.It would be helpful if someone can share a link to a working model of the above. I am using codeigniter platform and im kinda new to this. So please help me out.