The result is to be used to set two activeTextFields. I tried to following code:
var obj = $.parseJSON(data); <---------------------- how to convert JSON to object?
The content of obj is null. Is there another way to convert a JSON-formatted string to an object? Or should I proceed differenty?
Yes, you are right, but I’m not able to get the parseJSON function running.
I tried both $.parseJSON and jQuery.parseJSON, but both of them respond with a null value.
I’m not sure if I’m using the jQuery the ‘yii way’.