How to extract data from JSON string by using JQuery |
[eluser]mi6crazyheart[/eluser]
@elvicmic Sorry for late reply. Again u'r above code worked without any problem. Thx a lot for that. But, the thing is that.. i'm doing all these for a google chrome extension. So, when i use above code inside my chrome extension it giving error like... "XMLHttpRequest cannot load http://localhost/CI/index.php/welcome/chromeExtension. Origin chrome-extension://fddehjfinihjhhcnolbpbhckaagaefbp is not allowed by Access-Control-Allow-Origin. localhost/CI/index.php/welcome/chromeExtensionFailed to load resource" May b that why u'd suggested that "set headers correctly" . But, still using those headers in my controller function.. i've no luck(may be i'm not using the headers properly in side that controller function).. My controller function is like this... Code: function chromeExtension() For headers i'm using codeigniter output class : http://ellislab.com/codeigniter/user-gui...utput.html |
Messages In This Thread |
How to extract data from JSON string by using JQuery - by El Forum - 01-17-2011, 07:31 AM
How to extract data from JSON string by using JQuery - by El Forum - 01-17-2011, 08:35 AM
How to extract data from JSON string by using JQuery - by El Forum - 01-17-2011, 08:58 AM
How to extract data from JSON string by using JQuery - by El Forum - 01-17-2011, 10:54 AM
How to extract data from JSON string by using JQuery - by El Forum - 01-17-2011, 11:03 AM
How to extract data from JSON string by using JQuery - by El Forum - 01-20-2011, 12:53 AM
How to extract data from JSON string by using JQuery - by El Forum - 01-20-2011, 07:33 AM
|