I have following string:
var attrs = "FNAME=abraham,LNAME=lincoln,COUNTRY=USA,JOB=PRESIDENT"
and want to convert it to key value object like below using jQuery.
attrs = {
FName:abraham,
LName:lincoln,
COUNTRY:USA,
JOB:PRESIDENT
}