amita
07-28-2003, 01:59 AM
Hello,
I am using a javascript menu. Since the menu is dynamic, I have written that JS code in a php file within <script language="Javascript" type="text/Javascript"></script> tags. And I am including this php file where I want the menu to get displayed. Till here everything is fine. My JS code is working perfectly. But when I hit my browser's back button, it displays the previous page but at the top of it, it shows me the JS code of the menu. How can I avoid this?
Anyone who knows please suggest.
Thank You for your help.
-Amita
I am using a javascript menu. Since the menu is dynamic, I have written that JS code in a php file within <script language="Javascript" type="text/Javascript"></script> tags. And I am including this php file where I want the menu to get displayed. Till here everything is fine. My JS code is working perfectly. But when I hit my browser's back button, it displays the previous page but at the top of it, it shows me the JS code of the menu. How can I avoid this?
Anyone who knows please suggest.
Thank You for your help.
-Amita