I am getting JSON response from the server..Inside that JSON string i am having HTML content which i need to display in a field..
Can anyone help..
I am getting JSON response from the server..Inside that JSON string i am having HTML content which i need to display in a field..
Can anyone help..
See this question for more detail on how to display HTML content in a BlackBerry field by using a V4.5.0 BrowserContent class.
You can just
eval
the JSON response, though for better security adding JSON parsing support is fairly simple, try the json2.js library. Then just use normal JS notation to extract your HTML string and insert it into your text field.Note that: