How can i do this?
objPrefix = btn.attr('data-objprefix'); //<button data-objPrefix="foo">
var sendData = {objPrefix : {"bar":"ccccc"}};
ANd I want the output to be
{"foo" : {"bar":"ccccc"}};
but instead it is
{"objPrefix" : {"bar":"ccccc"}}