Clear Cache using Javascript in Button
697230May 19 2009 — edited May 20 2009Hi All,
I created one button and under Optional URL Redirect of the Clear Cache, I wrote page number to clear that pages cache, but now I'm using Target as "URL" and URL Target as :-
javascript:xyz();
and JS under HTML header is :-
<script language="JavaScript" type="text/javascript">
function xyz()
{
var answer = confirm ("Are you sure?")
if (answer)
{
window.location = "f?p=&APP_ID.:9:&APP_SESSION."
}
else
{
// do something else
}
}
</script>
hence I'm able to redirect user to page 9, but with this I want to also clear cache of some pages( say for ex:- page 5, 6 & 7), so how can I write under URL
can anybody help me out?
Thanks
Deep