does JSONP works on safari?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arty
    New Member
    • Nov 2008
    • 35

    does JSONP works on safari?

    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)
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    It seems like a caching problem. Try using a unique request (e.g. add a date string).

    Comment

    • arty
      New Member
      • Nov 2008
      • 35

      #3
      Originally posted by acoder
      It seems like a caching problem. Try using a unique request (e.g. add a date string).
      right!, that was it.regards

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Glad to hear it's working :)

        Comment

        Working...