I am using this Javascript to reload a page that has anchors:
<SCRIPT language="javascript">
opener.reload();
opener.location="commande-form.cfm#candidat";
self.close();
</SCRIPT>
what happens is that the opener doesn't reload, I do make it to the candidat anchor (but again the page isn't reloaded so it's no good) and the self window doesn't close.
However, using this :
<SCRIPT language="javascript">
opener.location="commande-form.cfm";
self.close();
</SCRIPT>
the opener page does reload and the self window closes..
how can I merge the 2 so that the opener reloads, I jump to my anchor and the self window closes ???
any help appreciated.
Thanks
Matt
<SCRIPT language="javascript">
opener.reload();
opener.location="commande-form.cfm#candidat";
self.close();
</SCRIPT>
what happens is that the opener doesn't reload, I do make it to the candidat anchor (but again the page isn't reloaded so it's no good) and the self window doesn't close.
However, using this :
<SCRIPT language="javascript">
opener.location="commande-form.cfm";
self.close();
</SCRIPT>
the opener page does reload and the self window closes..
how can I merge the 2 so that the opener reloads, I jump to my anchor and the self window closes ???
any help appreciated.
Thanks
Matt