How do I get a drop down menu to auto default to option selected a value other than the default written in the javascript?

I use web based software where I have to select from a drop down menu a particular option. However, I only ever use 1 option. Sometimes as much as 100 times a day. Is there anyway to get Firefox to auto select the same option every time? I don't have access to the source code so I cant change <option selected="selected" value="">.

A possibility would be a Greasemonkey script to do this automatically or a JavaScript bookmarklet to do it manually.
You would need to remove the selected="selected" from the currently selected option and set that attribute for the wanted option.
You can test the bookmarklet here:
*https://developer.mozilla.org/en/HTML/Element/select
<pre><nowiki>javascript:(function(){var d=document,s=d.getElementsByTagName('SELECT')[0],o=s.getElementsByTagName('OPTION'),S='selected',v='value1',i;for(i=0;O=o[i];i++){if(O.value==v){O.setAttribute(S,S);O.selected=true}else{O.removeAttribute(S);O.selected=false;}}})();</nowiki></pre>
If there are more 'selects' then you need to adjust the element number [0] and you also need to adjust the value of the wanted option.

Similar Messages

  • How do I get a drop-down menu to choose SMTP when composing an email in Apple Mail?

    Apple Mail used to have a drop-down menu in the Composing Mail window to select the SMTP server to use.  It is no longer there, in Yosemite (10.10.1).  How do I get that back?

    I'm not sure what you are trying to say here. That's exactly what DW offers validation behaviors or Spry Validation for. Select the form element(s) required to validate, apply the behavior, set the options in the dialog. Done.
    Mylenium

  • How do I get a Drop-down menu on back/forward button

    How do I get the old (FF3) Drop-down menu on the back/forward button, so I can go back/forward more than 1 page at a time?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • How do i get a drop down menu? my original one has disappeared.

    I can't seem to find my drop down menu that I had before downloading Firfox 3.6.16
    How can I compile a new list? bookmarking them is not putting them in the drop down menu.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • How can i get a drop down menu or check list control

    i want to give the user a choice between 7 options on the front panel. i want either a check list or drop down menu.thanks

    You can use any of the ring controls to generate a drop down list. The ring controls are found on the Controls >> Ring & Enum palette. You program the drop down items the same way with any of these controls. Type the first drop down item on the control. Right click on the control and select "add item after". The controls text field will blank out and you can enter your second item. Repeat for every item on the list you need to generate. After you are done entering items, click on the control with the application tool and you will see a drop down menu of all the items you entered.

  • How can I get a drop down choice to auto populate another cell?

    Hey there.
    I have a drop down list of options and for my spreadsheet to do What i need ot to do, I need to assign each choice a different value.  How can I do this so that when I pick "choice 1" it will place a pre determined value in a different cell?

    You can add a table that provide a list of items (that are in the pop up menu) and a corresponding value (shown on the right):
    In the table on the left you can refer to the table "Price List" to locate the item in column A, then retrieve the corresponding value from column B.
    B2=VLOOKUP(A2,Price List::A:B,2,0)
    this is shorthand for... select cell B1, then type (or copy and paste from here) the formula:
    =VLOOKUP(A2,Price List::A:B,2,0)
    select cell B2, copy
    now select column B, then unselect cell B1, by holding the command key and clicking cell B1
    paste
    change the pop-up menus in column A as needed.

  • How do I create this drop down menu?

    I've been trying to figure out how to achieve this animated drop down menu and I just can't.  I've gotten somewhere in between (animation using the accordion panel, and the rollover effect using the composition).
    Any help would be appreciated.  This is the example of what I'm trying to achieve.
    Military Retirement Community Washington DC | Falcons Landing
    Thanks!

    Hello,
    you can create the same dropdown using tooltip composition Widget but the only transition that you can add on rollover and rollout will be fading.
    Please check the attached file.http://adobe.ly/1IxxKfO
    Another alternate will be to create an animation in edge animate and use it in Muse as OAM File.
    Regards
    Vivek

  • HT5610 How can You authorise your Windows Vista computer??? I do not get this drop down menu nowI cannot get this here, have been trying for hours, why is this so uncooperative? My first impression of I tunes is not so good after that.

    How can you authorise your windows vista computer to play stuff you downloaded from itunes???  I cannot get this drop down menu shown on your support pages whatever I do.    I have been trying for ages.  This is not a good first impression.

    Authorize a Mac or PC
    Review the following before you authorize a computer:
    You can authorize up to five computers with your Apple ID.
    You must authorize your computer to download past purchases, use Home Sharing, or use the Automatic Downloads setting.
    You can play unprotected music that's in the AAC file format without authorizing your computer. This includes iTunes Plus tracks and content  from sources other than the iTunes Store, like your audio CDs.
    To authorize a computer, follow these steps:
    Open iTunes.
    Choose Store > Authorize This Computer from the menu bar.
    You may need to show the menu bar to see this option in Windows.     In earlier versions of iTunes, you can access this option from the Advanced menu.
    Enter your Apple ID and click Authorize.
    If your Apple ID uses an expired MobileMe account, you can still authorize your computer.
    In some cases, iTunes may ask you to authorize the computer again. iTunes should use the same authorization as before if the computer is in your  list of authorized computers.
    Learn what to do if iTunes repeatedly asks you to authorize when you try to play your content.
    http://support.apple.com/kb/ht1420
    Note : If you are Unable to see the Store Tab on your iTunes then click anywhere on your iTunes and press
    Ctrl + B key on your keyboard once and you should be able to see the Store tab in your iTunes.

  • How can i create a drop down menu for set qty in my store?

    I'm wondering how i can create a drop down menu for the qty module that sits on the individual product page. My client sells in quantities of 6 packs. I currently have the minimum order at 6 but i would like to give consumers the option for 6,12,18...and so forth. I was told that it could be accomplished? Hopefully someone can help me.

    Hi Chris -
    Thank you for your reply! I had seen your article before, and just now again attempted to follow it, but I get stuck. There are two things that I'm confused by.
    First off, toward the top, referring to the initial button, you say to add this interaction:
    ON CLICK; Play Transition to comboBox: selected
    ON ROLL OUT; Play Transition to comboBox normal if comboBox is in over state
    ON ROLL OVER; Play Transition to comboBox over if comboBox is in normal
    However, I do not see these transition options. When I select the button, the only interactions I have are to Play transistion to state, Play action sequence, Go to URL, and two for videos. So that's the first roadblock for me.
    But, trying to get passed that, I went down to the portion of the article that refers to adding interaction to the dataset items. Again, I don't get it, as I see no way to add interaction to a dataset item. When I open my design-time data menu, I do see the items, and am able to rename each item, add additional rows, and change the shape of the datalist layout. However, I see no way to add an interaction to a dataset item. I must be missing a step ... Can you help with this?
    Again, thank you!
    Amy

  • How do I link this drop down menu created in Fireworks when I export to dreamweaver, Help!

    Hello everyone,
    Thank you in advance for dealing with my inexperience and answering my question.
    I have been stuck on this for wayyyy too long. Here is my problem. I created a drop down menu for a portfolio website I am building. When I pull this into Dreamweaver the way to link the menu items to the pages is elusive. I have no idea what to do. Please help?
    Here is the screenshot. Thank you very much     Jennifer
    OK, Well no one can actually see this image since it came in so small, but please help me anyway if you can?

    Thank you for answering my question. I created the graphics in photoshop, sliced them in fireworks and now I am pulling the site in dreamweaver to link it. The dropdown is just a little dropdown menu. I created it in Fireworks because when I tried to create one in Dreamweaver I had to use a spry which was even harder to figure out and get to work. If I knew Html or CSS my life would be much easier but I don't. I don't have much time to learn it right now since I work over time all week, do graphics freelance and I go to school for computer science. I need to get this site up and I just want a fast little fix to get it up. When I have time to learn more I can make this site better or start a better site, but for right now it just needs to work. Is there a way to get what I have working so I can just get this site up. Later I will have more time and more experience to do this better. I am learning so thank you for your experience.
    Thanks,
    Jennifer

  • How do i create a drop down menu for selecting from the drop down arrow

    how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears

    katiesandell wrote:
    how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears
    Hi Katie,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Numbers vocabulary for this feature is a "Pop-up Menu". It's available as a Cell Format, and is set and edited in the Cell Format Inspector.
    See "Using a Checkbox, Slider, Stepper, or Pop-Up Menu in Table Cells" starting on page 96 of the Numbers '09 User Guide.
    This guide, and the equally useful iWork Formulas and Functions User Guide are available for download through the Help menu in Numbers.
    Regards,
    Barry

  • How do i plase a drop down menu in muse

    how do i place a drop down menu in muse

    by either arranging your pages in site plan view to have subpages or creating a menu and setting it to manual.
    How to create a website with Adobe Muse | Adobe Muse CC tutorials
    IT is covered in the above tutorial link

  • How do i get my drop down menus to stay open longer

    how do i get my drop down menus to stay open longer

    In fact, once one is down, moving the mouse over other menubar options drops those down and raises the other.

  • How do I create a drop down menu with multiple items in Adobe Acrobat 9?

    I am trying to create a drop down menu with four items within a field box.  When I try to do this
    the font is too big and it just doesn't fit.

    You can use panel widget to create manual menu where set to show target on rollover.
    Something like this :
    http://muse.adobe.com/exchange-library/menu-vertical-accordion-widget-1
    http://muse.adobe.com/exchange-library/tiptop-navigation-menu
    Thanks,
    Sanjit

  • How to get my drop down menu to work

    Hi,
    I'm stuck in how to get my sub menu to drop down. Every time I hover, it looks all jumbled. My site is candidlovephotography.com. Thank you very much!

    Have you created a drop-down menu on your page?  I don't see it at all.  Your menu code is this:
    <nav id="mainnav">
       <ul>
       <li><a href="index.html">Home</a></li>
       <li><a href="meetkristin.html">Meet Kristin</a></li>
       <li><a href="http://candidlovephotography.com/blog/">The Blog</a></li>
       <li><a href="http://wp.me/P4Gj7y-ak">Contact Me</a></li>
       <li><a href="Clients.html">Client Galleries</a></li>
       </ul>
       </nav>
    This is just a plain/straight one line menu.  It is not a drop-down menu.
    I suggest read this article to get the background info about Menu system:
    <Creating a pure CSS dropdown menu – CSS Wizardry – CSS, OOCSS, front-end architecture, performance and more, by Harry Ro…>
    I hope the above link works!!!!!

Maybe you are looking for