jquery - Some browsers don't retain appended AJAX content when page returned to -


i have developed ajax search component query google search appliance. makes ajax call php script grabs xml gsa , encodes json , sends browser. there, jquery template plugin rest. process works should.

however, when navigate away search page (e.g., click on result link) , later wish return search results, ie , chrome not retain search results , position on page, while ff, opera, , safari retain the ajax content appended dom , position on pae. in ie , chrome, hitting , seeing blank page w/ no results.

is there reason why browsers behave differently? (some browsers show appended content when go page, don't)

is there way easy way fix without type of session or state or storage?

thanks

how when hit search change location of page without redirecting ( ex: http://myurl.com/search.html#mysearchtext(url encoded))

then search.

on onload event of page check #xxxxx in url, , if 1 exists make search.

it serves 2 purpose : - way action work :p - way can link search results directly.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -