How to make a value changed based upon values selected in dropdown menu

Hi,
I am making my first Dreamweaver website using Dreamweaver CS6 on a windows 8 PC.
I am trying to make a website where the user selects different criteria; in this example an ipod's model, condition and size from three seperate dropdown selections (similar to www.itrado.co.uk) and then based upon these selections a value for their ipod is shown. However i cannot work out how to display a value which remains on the same page and changes based upon the values which have been selected from the dropdown boxes. I was planning on creating a database and then creating a simple code which retrieves the value from the database which corresponds to the three selected values, however i am not sure how to go about doing this.
Any help would be greatly appreciated.
Many Thanks,
Henry

You need scripts for this. Try this jQuery tutorial
http://anthonygthomas.com/2010/03/14/display-form-fields-based-on-selection-using-jquery/
Nancy O.

Similar Messages

  • Process flow for the Mid-year Status Changes based upon the Qualifying Even

    Hi Experts,
    I'm looking some information for the process flow for the Mid-year Status Changes based upon the Qualifying Events. Basically, I need to know, what would be the impact of these changes on various info types (Via IT0014 - Deduction changes & so forth) and the things that needs to be considered during it's Configuration and the things that needs to be checked due to the occurrence of the change. I would greatly appreciate any kind of help/document.
    Thanks a bunch in advance,
    Thanks,
    Exertive.

    Hello guys,
    Can anyone has any kind of input on this? Basically, I need to know the procees for Mid-year status changes based upon Qualified events. Any kind of help is greatly appreciated.
    Thanks,
    Exertive.

  • How to make labview program to get average value of 200 reading from multimeter (by using loop)

    Hello
    How to make labview program to get average value of 200 reading from multimeter (I using using loop) to read voltage from mulmeter  but I like to get average value of all of 200 reding how can I do that?
    Thanks
    Wee
    Solved!
    Go to Solution.

    Another idea with less programming - take advantage of the "free" array that comes with a Chart - i.e. the  History Data.
    1) Wire your DMM data to a Chart. (You can set the chart to invisible if you don't plan on using it in the GUI).
    2) Set the Chart History Length to 200 (right click on the chart, click on Chart History Length...)
    3) On the block diagram, use the History Data Property Node, wire it to Mean.vi, and you're done.
    Easiest running average ever.
    Message Edited by Broken Arrow on 04-07-2010 11:36 AM
    Richard
    Attachments:
    EasyAvg.jpg ‏8 KB

  • How to make field ( F110V-LIST1 ) mandatatory in free selection tab of F110

    hi
    How to make field ( F110V-LIST1 ) mandatatory in free selection tab of F110
    regards,
    Billa

    Hi,
    Standard transaction variant is not possible ,i dont want to use as zf110.
    Regards,
    Billa
    Edited by: Billa Mahe on Sep 3, 2010 3:14 PM

  • Change Value A based on Value B in Web UI in cross component

    Hi Friends,
    I have a requirement to populate value A based on selection of value B in differenet component.
    I have a web ui screen to create a complaint ( Component A ). After saving when I am clicking on follow up button, it will take me to next web ui screen ( Component B ) i.e. service order. Here I have a status field and after its selection when I have save. I also want to change value A of component A field.
    Kindly suggest..how can I achive this.
    Regards,
    Narendra Goyal

    Hi Narendra,
    It depends on what the exact fields are. If you change a value in component A and this change goes to the BOL layer, then this changed value should always be accessible in component B if you use the same BOL object and BOL relation to access the data. And you can always change the value from component B and it should already change in component A. The only thing you need to ensure is to call publish_current( ) method on the node where you change the value or call a BOL code modify( ).
    Regards,
    Shiromani

  • How can I use an application based upon the Siebel High Interactive Framework?

    I ma trying to use an application that is based upon the Siebel High Interactive Framework and can't open the software on my MacBook Pro. IS there any solution to this problem?

    My vote is pick up VirtualBox and download Windows 8 Preview, both are free, and see how that goes. Even though a deveoper preview and has IE10 this is my primary OS and browser. Only issue is getting it into a VM but that should be okay, and at least you can decide from there.
    Windows 7 64-bit SP1 Home Premium System Builder ($95) otherwise and then Parallels 7 or run natively.
    http://news.softpedia.com/news/Download-and-Install-Windows-8-on-a-Mac-with-Para llels-7-0-15050-231759.shtml
    http://msdn.microsoft.com/en-us/windows/apps/br229516
    VirtualBox 4.1.4 is includes a Windows 8 Template for guests.
    http://www.virtualbox.org/wiki/Downloads
    http://skear.hubpages.com/hub/Installing-Windows-8-Developers-Preview-Edition-on -VirtualBox

  • How to make restriction for the description of value in the transformation

    one infoobject AAAA which has value T001, T002, T003...
    the description of value
    T001 - Heywemay
    T002 - Heyrtya
    T003 - Tyuatyew
    I need to make routine in the transformation, when the description of value that contains "Hey", then we need to load it into infoprovider, otherwise we need to delete data package. Now the issue is  the filed in source is only Key, not description. But, we had maintained the description for infoobject AAAA. Anyboady know how to make restriction in the transformation, ?
    that means we only need to load data into infoprover once the description of value that contains "Hey". Should I add field 0TXTMD into infoprovider and make the link from infoobject AAAA? Thanks for any input.

    Hi,
    Write the Start routine to delete complete data packet whic won't have "Hey".
    DELETE SOURCE_PACKAGE WHERE TXTMD NP '"Hey'.
    If  you want load the data with blank for that InfoObejct if it won't contains "Hye".
    Write this code at TXTMD infoObejct level.
    if  SOURCE_PACKAGE-TXTMD NP 'Hey' .
          RESULT = ' '.
      elseif SOURCE_PACKAGE-TXTMD CP 'Hey' .
          RESULT = SOURCE_PACKAGE-TXTMD.
      endif.
    Note: In the above code I'm giving logic to do the same, but for code corrections please check with ABAPer.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Aug 12, 2009 10:48 AM

  • Calculate value based upon checkbox selection

    G'day people,
    I've got myself a bit stuck on a job I've got here, this javascript is getting the better of me.
    The idea is that this script takes the sub total, and adds a creditcard surcharge (as a percentage) based upon a checkbox selection, then spits out the value to be entered into another field.
    If anyone could have a quick look over the following and let me know where I've gone wrong, it would be appreciated.
    var subtotal = this.getField("SubTotal").value;
    var mastercardTick = this.getField("MasterCard");
    var visaTick = this.getField("Visa");
    var amexTick = this.getField("Amex");
    var surcharge = this.getField("CreditSurcharge").value;
    var creditcard = this.getField("PayCredit").value;
    if (creditcard.value === "Off") {
         event.value = 0;
    } else {
              if (mastercardTick.value === "Yes") {
                 surcharge.value= (1.2 / 100) * subtotal.value;
        } else if (visaTick.value === "Yes") {
                 surcharge.value = (1.2 / 100) * subtotal.value;
        } else if (amexTick.value === "Yes") {
                   surcharge.value = (3.75 / 100) * subtotal.value;
        } else {
              event.value = 0;

    Thanks George, I've given this a whirl and got very close... I got a NaN error, and found I was calling "SubTotal" a value twice, which was playing funny buggers!
    I've got rid of one part (the if creditcard.value === "Off") as it wasn't acting like it should. I think I had to put it in a seperate function, to be called seperately then the rest of the code... However, I need to get the job out and it wasn't crucial.
    Thanks for your help mate, appreciated.
    For anyone else that's interested, amended code is as follows:
    var subtotal = this.getField("SubTotal");
    var mastercardTick = this.getField("MasterCard");
    var visaTick = this.getField("Visa");
    var amexTick = this.getField("Amex");
    // var surcharge = this.getField("CreditSurcharge").value;
    var creditcard = this.getField("PayCredit").value;
              if (mastercardTick.value === "Yes") {
                 event.value = (1.2 / 100) * subtotal.value;
        } else if (visaTick.value === "Yes") {
                 event.value = (1.2 / 100) * subtotal.value;
        } else if (amexTick.value === "Yes") {
                   event.value = (3.75 / 100) * subtotal.value;
        } else {
              event.value = 0;
    Not the nicest, but hey, it worked.

  • How to make use Modifier automatically based on Condition

    Hello all,
    I need help in using Advance Pricing modifier to adjust the sub total value of the sales order.
    AM populating a value in sales order header DFF Attribute5 with value.Then i Compare the this value with Sub total value based on Pre book order event using plsql
    If there is difference then modifier needs to be applied automatically.
    Ex:
    Sales Order Sub total value :1000
    Value in Attribute5 = 1400
    Diff amount = 1400-1000 = 400.
    Now i need to make use of modifier to adjust the sub total value to 1400.
    This should be done automatically..is that feasible..
    if yes please advise.
    else please provide best approach for the solution.
    Please let me know if you need more clarity on requirement.
    Thanks,Sarath.

    Dear,
    The scheduling is based on your MRP parameters. If you select the basic dates scheduling while running MRP, the system will consider the material master in house production time. It will not consider the routing standard values. In lead time it consider the routing value means timing form routing and component are assign to the operation so it calculated the component reqt date. And do the scheduling of order.
    In OPU5 there is setting for scheduling Adjust dates to order start will work for you.
    Regards,
    R.Brahmankar

  • How To Make File Association Changes Permenant

    I'm having a problem with file associations reverting back every time I turn of my computer.
    I'm using Finder "change all" function to change the file association.  It works until I turn off my computer.  Once rebooted file associations return.
    It's a real hassle.  For some reason MP4 files keep getting associated with Windows media player. Everytime I try to open one, parallalels loads up windows. 
    Any advise?

    ekohanowich wrote:
    how to make file able to open on pc
    I assume you mean Windows Computer.
    in Keynote:   file > export > PowerPoint
    Each Windows machine will need  Powerpoint or PowerPoint Viewer installed.

  • How to make our own Ajax based custom compnent

    hi
    i want to make my own Ajax based custom compnent.
    i know JSF custom comppnents, but dont know how to add Ajax functionality in it.
    what should i have to learn for this.
    can any one guide me. if some one have code example it will be appreciated
    br,
    Haroon

    You can read tutorials or manuals from the suppliers of AJAX for JSF components. And of course take a look into the code.
    Examples:
    http://getahead.ltd.uk/dwr
    http://icefaces.org
    http://www.exadel.com/web/portal/products/VisualComponentPlatform
    https://bpcatalog.dev.java.net/ajax/jsf-ajax/
    Overview:
    http://www.jsftutorials.net/
    http://www.jsfmatrix.net/

  • How to populate another page item based on cascading select lists?

    Oracle 10gXE
    APEX 3.2
    I've created cascading select lists based on the examples (using Javascript and AJAX) that i've seen on this forum. Thanks for help on that!
    Now that I have these LOV's being populated without needing to submit the page, how do I take the value that is presently in each LOV and concatenate them together to populate another page item? I'm trying to build the URL string that will execute an Oracle Report once the user clicks a button.
    Previously, when I had multiple Select Lists with a submit, the URL was being put together using an After Submit Computation that would set the value for an item (P26_REPORT_URL) on the page. Notice that a report parameter (i.e. parameter name and Select List value) is only included if the user has provided a value. The page item that holds these values is then referenced by a button for URL redirect. The URL Target for the button currently is: javascript:popupURL('&P26_REPORT_URL.'), but will not work at the moment because P26_REPORT_URL page item is not changing based on what is selected in the LOVs. Since I'm not submitting anything (do I need to?), how do I put together the values needed?
    Computation for P26_REPORT_URL:
    DECLARE
    l_param VARCHAR2(2000);
    BEGIN
    l_param := '&REPORTS_URL.&report=&P26_RPT_VIEW..rdf&desformat=&P26_DESFORMAT.&destype=cache';
    IF REPLACE(:P26_OLO_CODE,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_olo_code=&P26_OLO_CODE.';
    END IF;
    IF REPLACE(:P26_BEG_DATE,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_start_dt=&P26_BEG_DATE.';
    END IF;
    IF REPLACE(:P26_END_DATE,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_end_dt=&P26_END_DATE.';
    END IF;
    IF REPLACE(:P26_ORG_CODE_2,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_org_code=&P26_ORG_CODE_2.';
    END IF;
    IF REPLACE(:P26_FLAIR_ORG_2,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_flair_org_code=&P26_FLAIR_ORG_2.';
    END IF;
    IF REPLACE(:P26_BUDGET_ENTITY_2,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_agy_code=&P26_BUDGET_ENTITY_2.';
    END IF;
    RETURN l_param;
    END;

    Andy,
    This is a great suggestion! After I posted, I started looking at a Javascript solution and figured it's probably what I had to do.
    However, now the cascading select list no longer working for some reason after I added the function to concatenate the item values. When I remove the showReport() function the select list works again.
    Here is what I have in the HTML Header portion of the page:
    <script language="JavaScript" type="text/javascript">
    function popupURL (url) {
      w = open(url,"winLov","resizable=1,width=800,height=600");
      if (w.opener == null)
      w.opener = self;
      w.focus();
    function showReport()
      var l_param = '&REPORTS_URL.&report=' + $v('P26_RPT_VIEW') + '.rdf&desformat=' + $v('P26_DESFORMAT') + '&destype=cache';
      if ($v('P26_OLO_CODE' != '')
       l_param += '&p_olo_code=' + $v('P26_OLO_CODE');
      if ($v('P26_ORG_CODE_3' != '')
       l_param += '&p_org_code=' + $v('P26_ORG_CODE_3');
      popupURL(l_param);
      function get_AJAX_SELECT_XML(pThis,pSelect){  
         var l_Return = null; 
         var l_Select = $x(pSelect); 
         var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=ORG_SELECT_LIST',0); 
         get.add('TEMPORARY_ITEM',pThis.value); 
         gReturn = get.get('XML'); 
         if(gReturn && l_Select){ 
             var l_Count = gReturn.getElementsByTagName("option").length; 
             l_Select.length = 0;
             for(var i=0;i<l_Count;i++){ 
                 var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue)
    get = null;
    function appendToSelect(pSelect, pValue, pContent) { 
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{ 
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>

  • Measure to dynamically change based on prompt selection

    Hi Experts,
    My requirement is, if I select a business segment (from a drop down prompt), it has show one of measure in the report and if I change the prompt value, it has to show a different measure. i.e., It should work like a column selector, but my selection is based on Segment prompt value.
    To still make it clear, assume, my report has measures KPI1, KPI2 KPI3. If I select Biz. Segment 1 from the prompt then only measure, KPI1 must appear in the report and so on.
    Thanks for your help in advance

    Hi,
    In 11g, make use of variable prompt and cah be achieved.
    Refer-http://prasadmadhasi.com/2012/02/28/variable-prompt-in-obiee-11g/
    And also refer-http://obiee10grevisited.blogspot.com/2012/06/multiple-measure-selection-for-graph.html
    Hope this helped/ answered
    Kind Regards
    MuRam

  • I have to combo box content change based on the selection on the other

    I have huge unsolve problem where by I have to combo box change content of the combo box based on the selection in the first combo box . The problem is The value changes do not have effect on the second combo box. Below is the content of the coding used for both the combo box.
    function setReasonCode(obj){
                         <%String sql_query3 = "SELECT DISTINCT (ir_tran_typ) "+
                                              "  FROM intrcd ";
                               System.out.println("trans type"+sql_query3 );           
                                try{
                                    rset = db.execSQL(sql_query3);
                                catch(SQLException e) {
                                    System.err.println("Error in query - intrcd - transaction_main.jsp " +e +" sql " +sql_query3);
                                while(rset.next()){
                                    tran_cde = rset.getString("ir_tran_typ");
                                            tran_typ.addElement(rset.getString("ir_tran_typ"));
                                            System.out.println("trans type 34 "+tran_typ );%>
                                            <% }%>
                                          alert(obj.value);
                                  <%for(int i=0 ;i<tran_typ.size();i++){
                                     System.out.println("trans type 222  "+ tran_typ.size());
                                       tran_cde =tran_typ.elementAt(index).toString();%>
                                       <%System.out.println("trans type before "+ tran_cde);%> 
                                        eval(document.all.tran_cde.option
                                      if(D == <%=tran_cde%> ){
                                       <%System.out.println("trans type D"+ tran_cde);%>     
                                       <%String sql_query2 = "SELECT ir_rea_cde,ir_rea_desc"+
                                              "  FROM intrcd"+
                                              " WHERE ir_tran_typ = 'D' " +
                                                        " ORDER BY ir_rea_cde ";
                               System.out.println("query"+ sql_query2);           
                                try{
                                    rset = db.execSQL(sql_query2);
                                catch(SQLException e) {
                                    System.err.println("Error in query - emmast2 - transaction_main.jsp " +e +" sql " +sql_query2);
                                        index = 1;
                                while(rset.next()){
                                        rea_cde = rset.getString("ir_rea_cde");
                                        rea_desc =  rset.getString("ir_rea_desc");
                                       tran_typ.removeAllElements();
                                       }%>
                                  if( R == obj.value){
                                       alert(R)
                                      if(R== <%=tran_cde%> ){
                                       <%System.out.println("trans type R"+ tran_cde);%>     
                                       <% sql_query2 = "SELECT ir_rea_cde,ir_rea_desc"+
                                              "  FROM intrcd"+
                                              " WHERE ir_tran_typ = 'R' " +
                                                        " ORDER BY ir_rea_cde ";
                               System.out.println("query 2"+ sql_query2 );           
                                try{
                                    rset = db.execSQL(sql_query2);
                                catch(SQLException e) {
                                    System.err.println("Error in query - intrcd - transaction_main.jsp " +e +" sql " +sql_query2);
                                        index = 1;
                                while(rset.next()){
                                        rea_cde = rset.getString("ir_rea_cde");
                                        rea_desc =  rset.getString("ir_rea_desc");
                                       }%>
              <%}%>
                }

    Not unless you know which file in the app sets the choices. I've been through it pretty thoroughly and can't find the one.

  • Filtering of the data based upon the selection screen data using ldb

    Hi Experts ,
    I am using ldb pnpce, for my report ,and i created my own report category with selection paramaters
    action type and payroll area
    now the problem is when i am giving the action type as Z0 ,the data to be extracted is not getting filtered
    based upon the action type ,the data consists the records having different action types other than Z0
    Please give me some solution for this

    Thanks Durga ,but the link wat ever u was for hiding the selection screen fields
    but my question is when am using get pernr event my data is not getting filtered with the selection screen paramater value
    i,e m giving action type as only hiring ,but m getting the data for all the action types ,its not filtering based upon my selection

Maybe you are looking for

  • Please settle this discrepancy once and for all re: maximum ram.

    My old iMac SE DV graphite was purchased and delivered in January, 2000. The original order catalog (which I kept) claimed that it was "expandable to 512mb", as were all the 400mhz G3 slot-loading DV models in various 'flavors' including my Graphite

  • How much memory can i upgrade on my macbook pro?

    I have a mid year mackbook pro 2009 with 2gb of memory. When I updated to Lion my system has begun to crawl and barely function. I want to upgrade my memory and I would like to get 8gb of memory from crucial...I don't know if my computer can hold tha

  • Example of Unix Korn Shell to run .scr (similar to NT .bat)??

    Wondering if anyone has an example of a Korn shell script that they use in Unixto run the Essbase script (.scr) to load up an outline.I am using NT .bat and will do the same in Unix. I will be so gratefull.Please email me [email protected]! Karim

  • Changing the location and drive of the "Documents" folder

    Hi all, I would like to move my "Documents" folder to a drive other than the system boot drive. Is it possible to control the location of this special folder so that when I use the sidebar to click on "documents" it goes to my data drive instead of m

  • Where I can find Logic pro 7.1 upgrade

    I acquired Logic pro 7 software, which I use on PPC G4 computer with Pro Tools Mix++ system. I would like to find 7.1 upgrade. This was actualy free upgrade, Apple sold it for 20$ on DVD (shipping costs).