Added value attribute to the options in select tag.
Added name property to select
Added command selected management and improved do_command function
Added command variable to obtain the selected option in select and added
to the data array in ajax method.