School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,419 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,497 people online right now. Registration is fast and FREE... Join Now!




Refreshing a jump menu or dropdown list

 

Refreshing a jump menu or dropdown list, Refresh menu after you hit back button

Shadow OSX

22 Jun, 2009 - 09:50 AM
Post #1

D.I.C Head
**

Joined: 28 Mar, 2006
Posts: 67



Thanked: 1 times
My Contributions
Hi everyone, it's been a while since the last time I posted, but hopefully someone can help me.

My drop down list does not refresh the item. Here is an example, in the drop down there are Fraternity group names - Alpha Epsilon Pi, Alpha Gamma Rho, Alpha Kappa Lambda, etc. If u choose Alpha Epsilon Pi in the drop down list, it goes to the page specific to that group. Once I'm at the page and hit my "back" button in my browser, it goes back to the main page that holds the jump menu, but Alpha Epsilon Pi is still shown in the drop down. How can I make the drop down list (jump menu) refresh when someone hits the back button on their browser?

Before any group is chosen the drop down begins with "Choose your Fraternity..." this is what I need it to refresh back to when you hit the back button in the browser. Thanks for all your help. Here is the java.

CODE

function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}


Here is the HTML

CODE

<form action="" name="frmJump">
        <select id="PID" class="quickshop" onchange="MM_jumpMenu('parent',this,0)" name="PID">
        <option>Choose your Fraternity...</option>
        <option value="/alpha-epsilon-pi-store.aspx">Alpha Epsilon Pi</option>
        <option value="/alpha-gamma-rho-store.aspx">Alpha Gamma Rho</option>
        <option value="/alpha-kappa-lambda-store.aspx">Alpha Kappa Lambda</option>
        </select>
</form>


This post has been edited by Shadow OSX: 22 Jun, 2009 - 09:51 AM

User is offlineProfile CardPM
+Quote Post


crazyjugglerdrummer

RE: Refreshing A Jump Menu Or Dropdown List

22 Jun, 2009 - 11:50 AM
Post #2

YOUR AD HERE
Group Icon

Joined: 7 Jan, 2009
Posts: 677



Thanked: 94 times
Dream Kudos: 425
My Contributions
yay missing manuals! I would suggest adding a javaSCRIPT so that whenever you visit the page, it clears all the menus first. biggrin.gif
User is offlineProfile CardPM
+Quote Post

Shadow OSX

RE: Refreshing A Jump Menu Or Dropdown List

22 Jun, 2009 - 11:54 AM
Post #3

D.I.C Head
**

Joined: 28 Mar, 2006
Posts: 67



Thanked: 1 times
My Contributions
QUOTE(crazyjugglerdrummer @ 22 Jun, 2009 - 11:50 AM) *

yay missing manuals! I would suggest adding a javaSCRIPT so that whenever you visit the page, it clears all the menus first. biggrin.gif


Any ideas on where I could locate such a script?
User is offlineProfile CardPM
+Quote Post

Shadow OSX

RE: Refreshing A Jump Menu Or Dropdown List

24 Jun, 2009 - 11:47 AM
Post #4

D.I.C Head
**

Joined: 28 Mar, 2006
Posts: 67



Thanked: 1 times
My Contributions
QUOTE(Shadow OSX @ 22 Jun, 2009 - 11:54 AM) *

QUOTE(crazyjugglerdrummer @ 22 Jun, 2009 - 11:50 AM) *

yay missing manuals! I would suggest adding a javaSCRIPT so that whenever you visit the page, it clears all the menus first. biggrin.gif


Any ideas on where I could locate such a script?


I found some but no beans. It still is showing the same thing.

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 11:52PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month