sample to estring data and jquery