parsing data to submit to buffer
can grab the values that are selected
ajax datatype bug fixed