By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,695 Members | 1,638 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,695 IT Pros & Developers. It's quick & easy.

does JSONP works on safari?

P: 35
i have set a flickr service using jsonp it consists of:

a form wich makes a request to the json formated feed on the flickr server, works fine on ie and ff, but on safari if i ommit any text in the form input text (wich means a search of everything) only the first request will work all subsequent request with omitting text in the text fill form will output the same images(yes im querying images) this should not happen as the feed on the flickr server is updated permanently, so basically safari doesnt make another query and the last query get stucked in the <script> tag, any thoughts?

edit: i am not using any ajax for the query , it is a simple jsonp query(the classic append to <script> tag query)
Mar 17 '09 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 15k+
P: 16,027
It seems like a caching problem. Try using a unique request (e.g. add a date string).
Mar 18 '09 #2

P: 35
right!, that was it.regards
Mar 18 '09 #3

Expert Mod 15k+
P: 16,027
Glad to hear it's working :)
Mar 18 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.