Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Clear Cache using Javascript in Button

697230May 19 2009 — edited May 20 2009
Hi 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
This post has been answered by Arie Geller on May 19 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2009
Added on May 19 2009
10 comments
5,101 views