dcsimg
Testing/Code Changes
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Keith_Davis
Posted On:   Thursday, September 7, 2006 03:04 PM

Here's something I don't like about AJAX. Maybe someone has a solution.

When I'm testing out code, if I change the POST/GET page (not the calling page), I have to close and reopen Internet Explorer to see the changes. Hitting refresh does not work.

Re: Testing/Code Changes

Posted By:   murali_sappa  
Posted On:   Wednesday, September 13, 2006 12:08 PM

Has to be the cache. If your call to open method is

xmlHttpRequest.open('GET', 'yourGetURL', true)

try replacing it with
xmlHttpRequest.open('GET', 'yourGetURL?extraParam='+Math.random(), true)
About | Sitemap | Contact