Global Json object which is initialized through ajax post call to php and it returns values like following(
$arr = array('h' => 'html', 'l' => 'li', 'p' => 'pre', 'd' =>'dom', 'e' => 'element');
echo json_encode($arr);
I can get the value of json object in jQuery.
There is a textbox to which ketpress event is mapped. Is it possible where user type the letter h in textbox instead of h it should replaced with value json_obj['h'] that is html. Where json_obj is variable which hold the json object.