Replace options in select menu using ajax call

Replace options in select menu using ajax call

I have a parent child relationship with two select menus.  When the parent changes I need to change all the values in the child.  I can create the entire html and replace the child that way but I was wondering if there was a way to just replace the values and text?  

Thanks.