Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in getting jsonp #10

Closed
praveenprasad opened this issue Jan 13, 2011 · 1 comment
Closed

error in getting jsonp #10

praveenprasad opened this issue Jan 13, 2011 · 1 comment

Comments

@praveenprasad
Copy link

this pluggin throws error when tried to get jsonp with cacheResult=true

eg:
var options = {
url: 'http://gdata.youtube.com/feeds/api/videos',
type: 'get',
cache: false,
data: {
q: 'india',
alt: 'json-in-script',
'max-results': 10,
format: 5,
'start-index': 1,
orderby: 'published'
},
dataType: 'jsonp',
success: function (data) {
if (console) {
console.log('data received');
}
}
};

var someManagedAjax = $.manageAjax.create('someAjaxProfileName', { queue: true, cacheResponse: false,cacheTTL:7000 });
someManagedAjax.add(options);

cacheResponse=true: will throw error
cacheResponse= false: would not

@aFarkas
Copy link
Owner

aFarkas commented Jan 15, 2011

thanks for the bug report

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants