Updating table using UJS

Hi all,

I have an application in which i am displaying employee details, based
on the onChange event of the employee's group combobox i need to update
the table contents.Below is the code so far done.

new.html.erb