Ajax select  and JavaScript tail examples.