How to display further information when a drop down menu option has been selected.

Hi all,
Thank you in advance for any replies!
I'm building a website which has a drop down menu (HTML for the menu is below). When a TV size is selected i need the pricing information for that specific TV size to appear below the menu.
Is there a way to do this?
Thank you!
<select name="Please select your TV Size" size="1">
        <option> </option>
        <option>Less than 42&quot;</option>
        <option>More Than 42&quot;</option>
      </select>

Sure it is. And Nancy has given you a good alternative as well.
      <p>TV1 <input id="num1" type="radio" checked value="tv1" onclick="document.getElementById('tv1').style.display='block';document.getElementById('tv 2').style.display='none';this.checked=true;document.getElementById('num2').checked=false;" ></p>
      <p>TV2 <input id="num2" type="radio" value="tv2" onclick="document.getElementById('tv2').style.display='block';document.getElementById('tv 1').style.display='none';this.checked=true;document.getElementById('num1').checked=false;" ></p>
<div id="tv1">Info for TV1</div>
<div id="tv2">Info for TV2</div>
With this CSS -
<style type="text/css">
#tv1 { display:block; }
#tv2 { display:none; }
</style>
Should work.

Similar Messages

  • Display normal text instead of drop down menu

    I have two tables. One is the customer particular, which has RaceID(int) as one of the field. The other
    table is Race, which has RaceID(int) and Race(char). Both of these tables are linked together.
    I have the following code generated from Ultradev when I am using Dynamic Elements Server Behavior.
    I will gonna do a search page, which list the value of Race of customer in normal text for each staff,
    not the drop down menu(but during insert page, I am using drop down menu to enter the data). How to
    do that?
    Codes:(This code will generate a drop down menu which compare the value in the customer particular and
    the race tables. If selected, display that one with the drop down menu.
    <select name="race">
    <%
    while (Race_hasData) {
    %>
    <option value="<%=((Race.getObject("raceID")!=null)?Race.getObject("raceID"):"")%>" <%=(((Race.getObject("raceID")).toString().equals(((((Matching_data
    = Matching.getObject("raceID"))==null || Matching.wasNull())?"":Matching_data)).toString()))?"SELECTED":"")%>
    <%=((Race.getObject("race")!=null)?Race.getObject("race"):"")%></option><%
    Race_hasData = Race.next();
    Race.close();
    Race = StatementRace.executeQuery();
    Race_hasData = Race.next();
    Race_isEmpty = !Race_hasData;
    %>
    </select>

    don't use <select>, use <input type = "text"> instead and you will get text box.

  • Can you display a calendar in a drop down menu to select a date

    I would like to display a calendar in a drop down menu like in
    outlook's calendar appointments. Is this possible with forms
    and how can it be done. I haven't been able to find anything in
    the book I have. Any help would be appreciated
    Thanks
    Jim

    I am sure this is possible. There is a calendar object on the Forms and Demos CD but I have created my own calendar just using a single form that is called from every date field.
    Create your calendar using a single date item that is populated by a parameter - this will be either the date from the field or sysdate. Create the other elements of the calendar as calculated items based on the first item +1, +2 etc. Use a when-mouse-click trigger to get the user's selection and pass it back to the date field via a global variable or a shared PL/SQL library.
    To make it more like the Outlook calendar you will have to add a button next to every date field and add code to position the calendar according to the field position. You may prefer not to bother to do that - I just open the calendar centrally on screen and activate it using key-listval and/or a pop-up menu.
    Hope this gives you an idea.
    Regards
    Nigel Simpson

  • How do I get the Back Button drop down menu back?

    When surfing in a tab there used to be a drop down menu next to the forward and back buttons. It was a little tiny triangle looking arrow. This was really useful and needed. It is gone in Firefox 4 as far as I can see. I am using the default 4.0 Theme. If it is not there anymore I will have to go going back to 3.16 if the drop down menu is gone. Thanks for any help.

    ''How do I get the Back Button drop down menu back?''
    * "'''Back/forward dropmarker'''" extension<br>https://addons.mozilla.org/firefox/addon/backforward-dropmarker/
    I do prefer Right-click on tab for tab history, or hold a couple of seconds, as the drop-down marker takes up space and had been removing it myself. Although I think it should have been an option.

  • User who is informed when a work item or workflow has been fully processed

    Hallo,
    message recipient for completion:
    User who is informed when a work item or workflow has been fully processed and its status is set to completed.
    Where I can change the word "Notif. of Completion:" for e-mail (in german "Endebenachrichtigung")?
    I don't want to change the text.
    I want change only a word.
    If the e-mail is created, the word is automatically written completion text  "Notif. of Completion:" ("Endebenachrichtigung:").
    Thank you for your help.
    Best regards.
    Edelgard Kubsch
    Edited by: Edelgard Kubsch on Dec 17, 2010 11:10 AM

    I had major issues with the iPhone 4s battery, however it’s resolved.
    The tech who set the phone up at the Apple store did so with little training.
    if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
    Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
    turning of locator and the push notifications from facebook--they have a lot!

  • Add value entered in a text box to drop down menu options

    hi everyone
    i am making a pdf form for medical imaging report. i have a text box where the users enters a number, i want this entered number to appear within a drop down menu options
    thanks

    Hi Alexander,
    I can explain you the details there is a list as you mentioned Newsletter with a column email in it you are right but for your answer ya i can use enforce unique values for that column but if i am using it it gives me an error in the next page what i want
    is just beside my text box to say that already registered user.I want that functionality that is what i meant.
    Thanks
    Eswar
    Eswar Chand Teki

  • My Images won't open in Photoshop CS5 when I click on Edit in Lightroom - even though this option has been selected?  To edit in Photoshop I have to export image from Lightroom then import into Photoshop.  I have other programmes such as NIK and if I wish

    My Images won't open in Photoshop CS5 when I click on Edit in Lightroom - even though this option has been selected?  To edit in Photoshop I have to export image from Lightroom then import into Photoshop.  I have other programmes such as NIK and if I wish to edit in these everything works fine.

    Same here. I've never had trouble with this function before.
    It opens the Photoshop application with all the menus/windows, but it never opens the actual image I chose to work on.
    I'm on a Mac, using OS X Yosemite, 10.10.1  Lightroom is version 5.7  Photoshop is CS5, version 12.0.4
    FWIW, I also can't automate>Photomerge ... . Makes me think Photoshop, not Lightroom, is all wacky. I tried dumping PS preferences

  • Can you eliminate an item from a drop down menu after it is selected once so it isn't selected again

    Can you eliminate an item from a drop down menu after it is selected once so it can't be selected again be someone else?

    I am sorry but Formscentral doesn't support any type of dynamic form content updating.
    Andrew

  • When I delete a name from the address book it does not delete it from the drop down name menu when forwarding a message. How do I remove it from the drop down menu?

    When I delete a name from Address Book it is not removed from the name drop down list when forwarding a message. How can I remove it from the drop down list?

    In Mail go to the Window Menu and select Previous Recipients. Deleting entries from there won't delete them from your Address Book.

  • How to hide top hits, bookmarks & history drop down menu when typing in safari search bar?

    how do I hide top hits, bookmarks & history drop down menu when typing in safari search bar?

    Not completely.
    In Safari > Preferences > Privacy > Check both Do not preload top hits in the background & Prevent earch engine from providing suggestions.
    This will eliminate top hits and search engine suggestions.
    I am not sure about the rest.
    As far as History, I guess you could clear it and use Private Browsing.
    Bookmarks, I don't think there is anything you can do about that besides removing them.

  • In Mail 3.6 how can I delete address from the drop down menu?

    When I update an email address in the Address Book, the drop down menu in a new email is still the old address.

    I think I figured it out. I have to click on the arrow beside the smart address in a new email and delete it there. I tried removing previous recipients but without success. I'm not sure what the name of my software is. Maybe snow leopard. How can I find that?
    Thanks for the suggestion and it probably helped a lot of other users and would have helped me if I knew the software.

  • How do I get the VISA resource drop down menu to be auto populated in my stand alone application (exe file)?

    Hi all,
    Here's a hopefully simple question.
    I am building an application (i.e. an exe file) from a simple program which use VISA to read and write to a RS-232 com port. When I run it before building the application everything works fine and the VISA resource control, which is a drop down menu, is automatically populated with available com ports. When I run the application on a computer without LabVIEW installed nothing appears in this window. I have made an installer which includes NI LabVIEW Rutime Engine 8.5, NI Measurement & Automation Explorer 4.3 and NI-DAQmx 8.6.1. Is there anything else I need to include? Any specific settings I need to do when I build the exe-file?
    I use LabVIEW 8.5.
    Thank you.
    Solved!
    Go to Solution.

    DAQmx is only for NI DAQ cards so I'm not sure why you installed that. The driver for VISA applications is NI-VISA (surprise!)
    Add the NI-VISA run-time to your installer.

  • How to get rid of stocks on drop down menu

    I would like to get rid of the stocks on the drop down menu on my ipod 5g, running ios 7. Does anyone know how? Also, the weather disappeared from my drop down menu.

    now your talking,,thank you very much!!

  • How to create a button with the drop-down menu?

    I want to create a button with the drop-down menu, which is like the 'back' on the tollbar in IE. I heard JPopupMenu can reach the certain result, but the button hadn't a down arrow. Who can help me?

    i have made something like this :
    //======================================================================
    package com.ju.guiutils
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.util.Vector;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    import javax.swing.plaf.basic.BasicComboBoxUI;
    * @version 1.0 14/04/02
    * @author Syed Arshad Ali <br> [email protected]<br>
    * <B>Usage : </B> ButtonsCombo basically performs function button + JComboBox, if we have different options for
    * <BR>same button then we can use this ButtonsCombo.
    *<BR> By the way there is no button at all in <I>ButtonsCombo</I>
    public class ButtonsCombo extends JComboBox {
    //===================================================================================
    * Create ButtonsCombo with default combobox model
    public ButtonsCombo () {
    super ();
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that takes it's items from an existing ComboBoxModel.
    public ButtonsCombo ( ComboBoxModel model ) {
    super ( model );
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that contains the elements in the specified array.
    public ButtonsCombo ( Object [] items ) {
    super ( items );
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that contains the elements in the specified Vector.
    public ButtonsCombo ( Vector items ) {
    super ( items );
    init ();
    //===================================================================================
    private void init () {
    setBorder ( BorderFactory.createBevelBorder ( BevelBorder.RAISED ) );
    setRenderer ( new ComboRenderer() );
    setUI ( new ComboUI() );
    addMouseListener ( new ComboMouseListener() );
    //===================================================================================
    * Set items for ButtonsCombo in the specified array
    public void setItems ( Object [] items ) {
    setModel ( new DefaultComboBoxModel( items ) );
    //```````````````````````````````````````````````````````````````````````````````````
    * Set items for ButtonsCombo in the specified Vector
    public void setItems ( Vector items ) {
    setModel ( new DefaultComboBoxModel( items ) );
    //```````````````````````````````````````````````````````````````````````````````````
    * Get current items in a array
    public Object [] getItemsArray () {
    ComboBoxModel model = this.getModel ();
    if ( model != null ) {
    int size = model.getSize ();
    if ( size > 0 ) {
    Object [] items = new Object[ size ];
    for ( int i = 0; i < size; i++ ) {
    items[ i ] = model.getElementAt ( i );
    return items;
    return null;
    //```````````````````````````````````````````````````````````````````````````````````
    * Get current items in a Vector
    public Vector getItemsVector () {
    ComboBoxModel model = this.getModel ();
    if ( model != null ) {
    int size = model.getSize ();
    if ( size > 0 ) {
    Vector itemsVec = new Vector();
    for ( int i = 0; i < size; i++ ) {
    itemsVec.addElement ( model.getElementAt ( i ) );
    return itemsVec;
    return null;
    //===================================================================================
    class ComboMouseListener extends MouseAdapter {
    public void mouseClicked ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    public void mousePressed ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    ButtonsCombo.this.setBorder ( BorderFactory.createBevelBorder ( BevelBorder.LOWERED ) );
    public void mouseReleased ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    ButtonsCombo.this.setBorder ( BorderFactory.createBevelBorder ( BevelBorder.RAISED ) );
    //===================================================================================
    class ComboRenderer extends JLabel implements ListCellRenderer {
    //````````````````````````````````````````````````
    public ComboRenderer () {
    setOpaque ( true );
    //````````````````````````````````````````````````
    public Component getListCellRendererComponent ( JList list, Object value, int index, boolean isSelected, boolean cellHasFocus ) {
    setBackground ( isSelected ? Color.cyan : Color.white );
    setForeground ( isSelected ? Color.red : Color.black );
    setText ( ( String )value );
    return this;
    //````````````````````````````````````````````````
    //===================================================================================
    // We have to use this class, otherwise we cannot stop JComboBox's popup to go down
    class ComboUI extends BasicComboBoxUI {
    public JButton createArrowButton () throws NullPointerException {
    try {
    URL url = getClass ().getResource ( "/images/comboarrow.gif" );
    JButton b = new JButton( new ImageIcon( url ) );
    b.addActionListener ( new ActionListener() {
    public void actionPerformed ( ActionEvent ae ) {
    return b;
    } catch ( NullPointerException npe ) {
    throw new NullPointerException( "/images/comboarrow.gif not found or /images folder not in classpath" );
    catch ( Exception e ) {
    e.printStackTrace ();
    return null;
    //======================================================================
    you can cutomize this according to your requirement , okie ;)

  • HT203180 I cannot copy HD Video purchased on iTunes via I cannot copy HD Video purchased on iTunes via PC to my iPad, please help.Also there is no 'VideoPC to my iPad, please help.Also there is no 'Video' option in the drop down menu which has Music, TV P

    I cannot sync HD films purchased on iTunes (on my PC) to my iPad even though it is a shared account. No problem syncing to iPod Classic from PC.
    Also there is no 'Film/Video' tag on the drop down menu on the iPad only Music and TV Programs.
    Also can't view 'purchased films' on iTunes via iPad.
    All Phtos,Music and Video etc is 'Manualy Sync' selected.
    Is this all related, please help?

    Most of my library consists of h.264 videos wrapped in the m4v format, which my converters (Handbrake & mkvtools) says is the Apple TV format.  Today I tried coverting a few to mp4 (for iPad) instead, so that I can watch them on multiple devices, but I'm running into the same problem with those that you are.
    I tried resetting my ATV as the other responder suggested, but that hasn't helped.  I'm still unable to watch h.264 mp4 files, while h.264 m4v's are fine.

Maybe you are looking for

  • How to process other task when reading the data from a file?

    Hello, I met a problem. I created a GUI to control the audio data processing. When the "Start" button is pressed, a block of data is read from the audio file and processed, then loop.But other buttons or method cannot be operated in that procession u

  • Randow video dots on display

    Having a problem with random video dots that blink on and off on my IMAC27 that is 210 vintage machine. If I shutdown the machine and re-start they disappear for awhile but do come back. I am running the latest version of Maverick. I have read that i

  • Common distribution channel division

    We are using common distribution channel and division on R3. On CRM the BP are setup against sales area - using sales org + common distribution channel of R3 + common division of R3. But the requirement is, when an order is created in CRM it should g

  • Software for one-time disk imaging of IPCC/CM/Unity

    Even though we use BARs for backing up our CM and CRA data, I would like to take images of our CM/CRA/Unity servers to be locked away (and before upgrades, for example). I've read a few threads on this in the forum but am not clear if either Symantec

  • IPhoto able to make a slideshow that includes video clips?

    I take a lot of video clips with my still camera which iPhoto organizes with my still pictures. When I select stills and movie clips to make a slideshow in iPhoto '06, it only puts the still pictures into the slideshow. So if I want to make a slidesh