Disabling Select Boxes

Hi,
IE (ver 7 or less) has a bug wherein it makes the SELECT box present in the page to be the topmost layer. I have a requirement wherein i need to display a div region over the iframe present in the body of the HTML page (the div becomes the top-most layer now - disabling the other elements present in the background). I am unable to disable the SELECT box present in the iframe, though i am able to disable the other SELECT boxes which are present outside the iframe.
Has anybody faced a similar issue - if so can you suggest a probable solution for the same ASAP.
Regards,
Venky

Hello,
The solution the dropdown menus in APEX use is to display an empty iframe underneath the menu but over the select item to block out the select item.
Take a look at this link they have 2 different ways of fixing this. http://www.codetoad.com/forum/20_22736.asp
Do a quick google search there are some more solutions to this problem.
Carl

Similar Messages

  • How disable smartcut  section select box? Wayne help needed!

    Dear friends
    I disable smartcut section select box with Toolbar=Navigation parameter in link
    http://localhost:45000/workspace/browse/get/KursHYP2008/siyavus/BimR.bqy&user=admin&pass=password&Toolbar=Navigation
    but when I login in LoginDash and activate another section, the section select box is activated on menu again!
    regards

    Can you be a little more descriptive on what you need here and explain what exactly you want to be changed.

  • Multi-Select Box Not Displaying Values Passed From Grid?

    Coldfusion 8
    I inherited an application and am trying to maintain and improve it... hit a snag today.
    I have a multi-select box that is not displaying what I expect.  The values come from a ColdFusion grid which is based off a database query.
    Here is the code for the select - does not work - nothing is selected:
    <cfselect name="USER_IDS" multiple="true" queryposition="below" selected="USER_IDS" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
    </cfselect>
    Now if I change the multiselect to a single select like below - it takes the first item in the field list (from the grid) and selects it in the drop down.
    <cfselect name="USER_IDS" multiple="false" queryposition="below" selected="USER_IDS" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
    </cfselect>
    Or if I assign a variable like this and use the multi-select code it seems to work as well.
    testlist = "22,26";
    <cfselect name="USER_IDS" multiple="true" queryposition="below" selected="#testlist#" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
    </cfselect>
    I have displayed the value of "User_IDs" in the grid and in the data entry part of the screen to see values of:  22,26
    to make sure that wasn't my issue.
    Do grids and multiselects require something additional?  Any advice on how to resolve?

    Problem was related to some javascript for the select box.  There was a function for a single select box but not a multiple select box - this fixed it: 
    if(theForm.elements[i].type == "select-multiple"){
                        var selectBox = theForm.elements[i];
                        var sbname = selectBox.name;
                        cpvalue = String(eval('record.data.' + sbname));
                        var NotifyArray = cpvalue.split(',');
                        for (var j=0; j < selectBox.length; j++) {
                            selectBox[j].selected = false;
                        for (var j=0; j < selectBox.length; j++) {
                            sbvalue = selectBox[j].value;
                            for (var k=0; k < NotifyArray.length; k++){
                                if (sbvalue == NotifyArray[k]){
                                    selectBox[j].selected = true;

  • Input disabled check box

    how to display input disabled check box in selection screen.
    plz give me sample code.i think we have to use at selection-screen output. so using it how we have to build code

    Below is the code we can use:
    REPORT zrjntrial_tree LINE-COUNT 65
    LINE-SIZE 80
    NO STANDARD PAGE
    HEADING.
    TABLES : vbrk.
    PARAMETERS : p_radio AS CHECKBOX USER-COMMAND opt1.
    SELECT-OPTIONS : s_vbeln FOR vbrk-vbeln,
                     s_fkdat FOR vbrk-fkdat.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'P_RADIO'.
            screen-input = 0.
            screen-output = 1.
            MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Regards,
    Himanshu

  • How to create editable select box in jsp page

    hi,
    i got som peculiar requirement in my jsp page.i have my page like this.
    <html>
    <body>
    <form name="test">
    <select name="test">
    <option value="one">USA</option>
    <option value="two">India</option>
    <option value="three">UAE</option>
    </select>
    </body>
    </html>
    this is one of the select box in my jsp page.
    now i want to change the look and feel of select box..
    1-dont want to show the scrollbar means the right side arrow which allows to see the total options in select box.
    it should look like normal text box.
    2-roveer apert from the existing values if there is no matching value user must be allowed to enter his own value in above select box..
    how i can solve this problen..
    regards,
    sam

    Is that maybe a browser memory auto-complete thing? It works on Netscape 7.2. But no, it's not a browser auto-complete thing (does NS have that? IE does... either way, I would've disabled that). It's definitely a Javascript trick, I'm sure of that. I know I haven't sent mail to all people in my address book from my work PC, but it doesn't stop them from showing in the list as I type...
    Unless there is a special HTML tag option or browser extension that I've never heard of that allows you to supply a set of values to a text input field for auto-completion (as opposed to the browser remembering what was typed).

  • Product Variation Select Box Issue

    HI all! I'm having an issue with the production variations that I have out of stock and they're still showing in the select dropdown menu. I have tried to get support on this but they're telling me that it's something to do with my template. I haven't been able to find any issue with my template though. Upon inspection of the code, I can see that the select box is being set to "display: none" When I disable this, a second select box appears next to the first select box with the correct inventory available selections. Can anyone help me figure out this issue? Thanks in advance!
    {tag_attributes} has been changed to {tag_attributes, vertical, true, false} and all out of stock variations have been disabled.
    UPDATE: On CSS style: select, .selectBox - line 504 "style.css" I forced display: inline-block and now you can see the two select boxes upon page load.
    UPDATE: For the incorrect select box that showed all the product variations despite their disabled status -  i was able to force it to display: none !important --- and it solved this issue. I would still like to know why this was happening if anyone has ideas.
    Thanks!

    Hi mattkrae34,
    What version of SpryMenubar.js are you using? You can find
    the version on the first line of the file.
    Also, do you have a sample URL we can take a look at?
    --== Kin ==--

  • Disabling Check Box

    HI Experts,
                   I have Selection screen where in 1st Block I have 3 Radio Button & respective input fields. In 2nd Block I have 2 Radio button & Respective Check Boxes. I used Loop At Screen for Disabling Input Fields in 1st Block whose Radio Button is not clicked. I need to do the same Functionality for 2nd Block so that I can Disable Check Box whose Radio Button is not Clicked.
    I have allready writen  USER-COMMAND ABC in 1sr Block.
    And it wont allow me to write another USER-COMMAND for 2nd block. What Would I Do.
    Plz Help. Urgent.
    Thanks.
    Khan.

    Hi,
    Refer to the following code:
    selection-screen begin of screen 100 title title.
    selection-screen begin of block b1 with frame title text-t01.
    parameter:rad1 radiobutton group rad user-command frad1 default 'X',
              rad2 radiobutton group rad .
    selection-screen end of block b1.
    selection-screen begin of block b2 with frame title text-t02.
    parameter: mtr as checkbox modif id g3 user-command chk1,
               p_matnr type eban-matnr modif id g1,
               sloc as checkbox modif id g3 user-command chk2,
               str_loc type eban-lgort modif id g4.
    selection-screen end of block b2.
    selection-screen begin of block b3 with frame title text-t03.
    select-options: matnr1 for eban-matnr modif id g2.
    selection-screen end of block b3.
    selection-screen pushbutton /20(10) name user-command ucom.
    selection-screen end of screen 100.
    name = 'FETCH'.
    title = 'Test Report'.
    call selection-screen '100'.
    type-pools slis.
    declaration of internal tables and work areas to be used
    data: begin of it_pr occurs 0,
          banfn type eban-banfn,
          bnfpo type eban-bnfpo,
          loekz type eban-loekz,
          statu type eban-statu,
          ekgrp type eban-ekgrp,
          matnr type eban-matnr,
          werks type eban-werks,
          lgort type eban-lgort,
          preis type eban-preis,
          peinh type eban-peinh,
          end of it_pr.
    data: begin of it_mat occurs 0,
          matnr type eban-matnr,
          end of it_mat.
    *DATA:BEGIN OF ITAB1 OCCURS 0,
      data: l_answer.
    data: it_fieldcat type slis_t_fieldcat_alv,
          wa_fieldcat like line of it_fieldcat,
          it_event type slis_t_event,
          wa_event type slis_alv_event.
    declaration of variables to be used
    data: r_ucomm type sy-ucomm,
          mat_no type eban-matnr,
          len type i value 1,
          count type i value is initial,
          iflag type i value is initial,
          iflag1 type i value 0.
    data :pr_id type sy-repid,
    rt_extab type slis_t_extab.
    at selection-screen output.
      if rad1 = 'X'.
        loop at screen.
          if screen-group1 = 'G1' or screen-group1 = 'G4'.
            screen-active = '1'.
            screen-input = 0.
          elseif screen-group1 = 'G2'.
            screen-active = '0'.
          endif.
          modify screen.
        endloop.
      elseif rad2 = 'X'.
        loop at screen.
          if screen-group1 = 'G1'  or screen-group1 = 'G4' or screen-group1 = 'G3' or screen-group1 = 'G5'.
            screen-active = '0'.
          elseif screen-group1 = 'G2'.
            screen-active = '1'.
          endif.
          modify screen.
        endloop.
      endif.
      if mtr = 'X'.
        loop at screen.
          if screen-group1 = 'G1'.
            screen-input = 1 .
          endif.
          modify screen.
        endloop.
      endif.
      if sloc = 'X'.
        loop at screen.
          if screen-group1 = 'G4'.
            screen-input = 1 .
          endif.
          modify screen.
        endloop.
      endif.
    clear sy-ucomm.
    This will surely sort your prob
    Regards
    Gaurav

  • Pre-selecting from Spry Data Select Box

    Hi
    I am new here so sorry if this is in the wrong section/format
    I am using Two Spry XML Datasets to populate 2 dropdown boxes with  vehicle makes and the connected model names (there are other fields but for the sake of clarity I will only show these 2). The XML is dynamically generated by PHP/MySQL and works great for initially creating records. The problem I have is when I want to edit my record and so pre-select the data in the dropdown select box. The first box is easy and works fine but the second box only updates when the first is updated using the 'onchange' and I cannot get it to update on load. I can get it to update 'onclick' or other events but I need it to  update the second box when the page loads. Any ideas? I am sure there is a simple solution staring me in the face, but I just can't see it
    My code is listed below. I have cut out all the unnecessary code to make it more clear (hopefully)
    <script src="../../SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="../../SpryAssets/SpryData.js" type="text/javascript"></script>
    <script type="text/javascript">
    var dsmakes = new Spry.Data.XMLDataSet("xmlgenmake.php", "vehicle/makes");
    var dsmodel = new Spry.Data.XMLDataSet("xmlgenmodel.php?xmlmake={dsmakes::make}", "makes/models/model");
    </script>
    </head>
    <body>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
    <span spry:region="dsmakes" id="makeSelector">
      <select spry:repeatchildren="dsmakes" id="makeSelect" name="make" onchange="document.forms[0].modelSelect.disabled = true; dsmakes.setCurrentRowNumber(this.selectedIndex);">
        <option spry:if="'{dsmakes::make}' == '<?php echo $row_Recordset1['make']; ?>'" value="{dsmakes::make}" selected="selected">{dsmakes::make}</option>
        <option spry:if="'{dsmakes::make}' != '<?php echo $row_Recordset1['make']; ?>'" value="{dsmakes::make}">{dsmakes::make}</option>
      </select>
    </span><span spry:region="dsmodel" id="modelSelector">
    <select spry:repeatchildren="dsmodel" id="modelSelect" name="model">
      <option spry:if="'{dsmodel::model}' == '<?php echo $row_Recordset1['model']; ?>'" value="{dsmodel::model}" selected="selected">{dsmodel::model}</option>
      <option spry:if="'{dsmodel::model}' != '<?php echo $row_Recordset1['model']; ?>'" value="{dsmodel::model}">{dsmodel::model}</option>
    </select>
    </span>
    </body>
    </html>

    Sorry for not being clear -
    The first Spry Select box populates with the Vehicle Makes and selects the stored make from the DB. The second box is supposed to populate with the corresponding Vehicle Models (corresponding to the Vehicle Make in box one) but it initially only populates with the first makes data (not the selected one) if I add:    onfocus="dsmakes.setCurrentRowNumber(this.selectedIndex);     to the first box it works as it should as soon as it receives focus and the second box updates and selects the correct model.
    I have tried adding
    Spry.Utils.addLoadListener(InitPage);
         function InitPage() {
           dsmakes.setCurrentRowNumber(makeSelect.selectedIndex);
    but I cannot get the second box to update without clicking on the first
    It seems there should be s simple solution to this but I cannot see it.

  • Gray out or disable text box

    Hi,
         I have a drop down menu called CN_Entry_Initials that has options of a "C" or an "N". I also have a text box called Part_Number to enter a part number into. I want the Part Number text box to be grayed out or disabled until either a "C" or an "N" has been chosen out of the CN_Entry_Initials drop down menu. I have this working, except that I cannot get the Add button to do anything. I think it’s something to do with the way I have the If statement for this disabled text box, or do I have to change the button to a submit button. Does anyone know how to fix this? Below is the javascript and the drop down menu and text box code along with the Add or submit button. There is extra stuff in the Javascript that I have on the page, but I don't need to worry about those things since they are working correctly. I have the disabled text box code at the top of the javascript under the function verify() code. Thanks.
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Wayne Nolting ([email protected]) -->
    <!-- This script and many more are available free online at -->
    <!-- Begin
    function verify()
    if (document.getElementById('CN_Entry_Initials').value == "C"
    || document.getElementById('CN_Entry_Initials').value == "N")
        document.getElementById('Part_Number').disabled = false;
    else
        document.getElementById('Part_Number').disabled = true;
    var PartNum=document.AddECNumber.Part_Number.value;
    var regularExpression = new RegExp(/[cC][0-9]/); //regular expression to check for a letter C followed by a number
    if(regularExpression.test(PartNum)&& document.AddECNumber.CN_Entry_Initials.value == "N" && document.AddECNumber.Validation_Qty.value == "") { //this will return true if the input passes the regular expression
    alert("Enter a Validation Quantity for this new Custom");
    else if(document.AddECNumber.CN_Entry_Initials.value == "N" && document.AddECNumber.P_Drive_Docs_Initials.value == "i") { //this will return true if the input passes the regular expression
    alert("You cannot select 'i' for docs to be removed for a new part");
    else if(document.AddECNumber.CN_Entry_Initials.value == ""  && document.AddECNumber.SW_Model_Only.value == "0") { //this will return true if the input passes the regular expression
    alert("ECO type required - Select (N)ew or (C)hange for eco line item");
    else if(document.AddECNumber.PNR_BOM_Change_Only.value == "1" && document.AddECNumber.CN_Entry_Initials.value != "C" && (document.AddECNumber.Release_Status_Initials.value == "U"
    || document.AddECNumber.Release_Status_Initials.value == "N")) { //this will return true if the input passes the regular expression
    alert("ECO type required - Select (C)hange for eco line item and Select N for Release Status if PNR/BOM Change Only is yes");
    else if(document.AddECNumber.PNR_BOM_Change_Only.value == "1" && document.AddECNumber.CN_Entry_Initials.value == "C" && document.AddECNumber.Release_Status_Initials.value == "U") { //this will return true if the input passes the regular expression
    alert("ECO type required - Select (C)hange for eco line item and Select N for Release Status if PNR/BOM Change Only is yes");
    else if(document.AddECNumber.Doc_Changes_Only.value == "1" && document.AddECNumber.CN_Entry_Initials.value != "C") { //this will return true if the input passes the regular expression
    alert("ECO type required - Select (C)hange for eco line item since Doc Changes Only is yes");
    <!--- else if (document.AddECNumber.P_Drive_Docs_Initials.value == "i")
    // self.location='eco_search.cfm'; --->
    else
    document.AddECNumber.submit();
    //  End -->
    </script>
    <cfform name="AddECNumber" action="add_new_ec_number_action.cfm" method="post">
    <tr>
    <td class="edit" align="right">Change or new entry:</td>
    <td>
              <select name="CN_Entry_Initials" id="CN_Entry_Initials" onchange="verify();">
                <option value="">Select</option>
    <!--------- POPULATE SELECT BOX WITH P_Drive_Docs_Initials FIELDS --------->
                <CFOUTPUT QUERY="ShowCNEntryInitials">
                <option value="#CN_Entry_Initials#">#CN_Entry_Initials#
                </CFOUTPUT>
              </select>
    </td>
    </tr>
    <tr>
    <td class="edit" align="right" valign="middle">Part Number:<br><h6>(Limit to 25 characters)</h6></td>
    <td><input type="text" name="Part_Number" id="Part_Number" maxlength="25" size="27" disabled="disabled"></td>
    <td><textarea name="Description" cols="30" rows="3"></textarea></td>
    </tr>
    <input type="button" value="Add" onclick="verify();">
    </cfform>
    Thanks.
    Andy

    I don't understand about using the alert box to output the variables. I know that everything was working with alert boxes, etc. before I added the code for the disable text box code. The difference I see is on the disable text box code I use document.getElementById and on the other code I use document.AddECNumber. Could this cause the Add button to not work? If so, how do I change this code to make it work? I tried just changing it be like the document.AddECNumber code, but that didn't work.
    Andy

  • Stopping the scrollable feature in select box

    hi,
    in my jsp page i have a select box with some values..
    <select name='sel' onchange="window.form.submit()"></form>
    <option value='india'>india</ption>
    <option value='usa'>usa</ption>
    <option value='uk'>uk</ption>
    </select>
    once i select value from the select box the onchange is called and submitted to form again.but some times it takes more time for onchange and the cursor will be in select box..during this time if we move the mouse scrollabe then the value in select box is changed and
    onchange is perfomed more than once and it throws exceptions..
    how can i stop the user from scrolling once he selects a value..
    regards,

    you may disable the select box before submitting..
    or perhaps use an onchange function that maintains a status var like this (untested!) :
    var onChangeRunning = false;
    function sel_onChange() {
        if (!onChangeRunning) {
            onChangeRunning = true;
            //do submit form stuff
            onChangeRunning=false;
    }and call this in the onchange-handler of your select box instead of directly submitting the form..
    just two ideas, I'm sure there are more ways to do ensure this...
    lupo

  • Populating second select box on the basis of first.

    Hello
    I want to populate second select box based upon the value selected in first select box from database.The second select box should be in disabled state first and should be enabled only if i select from first selct box. I want to make it by using simple JSp not ajax.

    Hello
    I want to populate second select box based upon the value selected in first select box from database.The second select box should be in disabled state first and should be enabled only if i select from first selct box. I want to make it by using simple JSp not ajax.

  • How can I disable Select Tool & enable Hand Tool using Adobe JavaScript ?

    How can I disable Select Tool & enable Hand Tool using Adobe JavaScript ?
    I want wherever the PDF opened automatically preferrence changed, default HAND TOOL remain selected. I want to do it using Adobe JavaScript.

    You are correct in that it's not functioning, however I do not have that option under the "online and adobe online" section in Adobe Customization Wizard XI.  I have the following boxes that can be checked:
    "Disable initiating shared reviews and data collection via distributed forms using Adobe online services (does not affect non Adobe online services reviews and forms).
    "Disable the Tools pane in Reader"
    "Disable file storage on Adobe online services"
    "Enable file storage even when all other services are disabled"

  • Links of the bottom of the "Advanced Search" page are on top of the select boxes

    In that position the bar of links
    "Google Main Page Ad programs Business Solutions Privacy and... Everything About Google"
    covers the select box at that position (either "domain or website" or "language" or "region" etc.).
    If I push the lower margin of the window upwards making the window smaller, the bar of links moves upwards uncovering the select box hidden under it and covering another select box further up. I can go all the way up till it covers the text boxes "all these words" or "exact sentence".
    I have uninstalled Firefox and installed a new Firefox. I eliminated all cookies and caché. I disabled all plugins. I restarted and I also opened in safe mode, but it keeps happening.

    Looks that this is caused by setting the height of the div.bottom-wrapper to 100% and that causes the div.bottom-links-wrapper to appear at the wrong position (i.e in the middle of the page).
    If I disable the height: 100% !important rule (why even an important flag?) with the Style editor (Inspect Element) then the page appears correctly.
    <pre><nowiki>div.bottom-wrapper{
    min-height:100%;
    margin:0 auto -60px;
    height:auto;
    height: 100% !important
    }</nowiki></pre>
    This rule in userContent.css or Stylish should fix this.
    <pre><nowiki>@-moz-document domain(www.google.com){ div.bottom-wrapper { height:auto!important; } }</nowiki></pre>
    The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration

  • Selection Box dissapeared

    Hi Experts,
    I have a client at which one User found that her Selection Box dissappeared. This is on a Invoice when she wants to select the Items in the Lines. The selection 'round icon' is not in the lines, but Tab still works to get this Selection List to show. The same goes for the Selection box for the Taxes on the lines.
    This is not critical as she can still use Tab.
    Any help will be appreciated.
    Marli

    Hi Marli.......
             I think you have disabled the pickers indication list selection by mistake.....
    You need to enable it in View option from menu bar.
    Its View --> Pickers Display --> List Selection....
    Hope it will solve ur doubt...
    Regards,
    Rahul

  • Disable Select-Options Tabstrips

    Hi,
    Does anyone know how to disable select-options dialog box's tabstrips? Standard multiple selection dialog box comes with 4 tabstrips (single values, ranges values, excluded single values, and excluded ranges value). I would like to disable one of these tab, does anyone work with this before.
    Thanks,
    SP

    Hi Seng,
    Please use NO EXTENSION NO INTERVAL
    for further help please go through KEY word documentaion.
    Regards
    Ramchander Rao.K

Maybe you are looking for

  • Can I install 1333 MHz DDR3 RAM in my Macbook Pro?

    I have a 2010 MacBook Pro and I want to upgrade to 8 GB of RAM. I found 1333 MHz RAM for cheaper than I could find the 1066MHz RAM that the computer is spec'ed for. Will the RAM work in my computer?

  • Customer payment to vendor

    Hi, I want the table and transaction code for the below requiremnt. let us think that we have one customer and vendor, both have g/l accounts.If the vendor supplies material to customer the customer needs to pay money from his account. And  i shuld h

  • Problem in external table

    Hi, Oracle Version:10.2.0.1 Operating system:Linux Here i created the external table successfully and when fetching the records for the text file i am getting some problem. Here is my external table creation syntax. create table sample_ext1 (DETAIL_S

  • Context Memory & Roll Area

    <b>what are the context memory and roll area?</b>

  • Looking for computer compatible with Premiere Pro cs6

    Hello everyone, I am looking to invest in a new computer desktop that could support programs such as Adobe Premiere Pro cs6 and Photoshop cs6. I would like to go with a DELL computer if possible and I definitely need something that can support HD vid