Hi,
In our application we use json to carry data from server, ajax calls are made using jquery, the json response is used to construct html dynamically.
The rendering logic varies according to attributes in json response, for example
I would like to know is there any elegant way there, not to hard code in
java script, I mean can I read values 1 and 2 dynamically and use them in comparison.