how to access immediate unknown key in object. in pic \"367:sl\" is dynamic key and i want to access cptyName value which is in \"367:sl\". Thanks in advance
If your dynamic key is the only key in quotes object, you can get the first key and then access value with:
quotes
var firstKey = Object.keys(quotes)[0]; var cptyName = quotes[firstKey].cptyName;
http://jsfiddle.net/mGZpa/