How to set key for array item?

bdboy

New Member
I would like to use jquery post:\[code\]var CONST_KEY = 'key';var CONST_VALUE = 'http://stackoverflow.com/questions/15593515/value';$.post('/', {CONST_KEY: "'" + CONST_VALUE + "'" }, function(){//.....});\[/code\]But in this case server gets:\[quote\] CONST_KEY = value\[/quote\]Why CONST_KEY is sending as a variable name but not as a 'value'?
 
Back
Top