193943/jquery-json-how-to-define-key-from-variable
I have the following code
$.post( "/factory/set",{ key : value }, function(response) { }); }, "json" );
where
key = "foo" value = "bar"
but the server always gets "key" and "bar", is there a way to set the key as variable, not string?
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.