Problems with dynamic selection lists in IE7

I have another problem related to the last one I posted here: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=217 & threadid = 1385428

I have a list of dynamic selection populated by a SQL Server database.

I want to select all the items in the list if you have selected a particular item. The code I wrote works fine in Firefox, and I'm assuming that other browsers as well. It does everything not in IE and the specific test does not not in IE7.

I can't use the fix suggested for my last question, because this time I want all of the selected options and selectedIndex applies only to a single option.

Any ideas on what I can do to make it work in IE7?

Here is the code I use:

I have provided a solution to this question in another forum:

http://www.Tek-Tips.com/viewthread.cfm?QID=1495671&page=1

Thank you
Jesse

Tags: Dreamweaver

Similar Questions

  • Problem with the selection list dynamic LOV using bind variables

    I have the following SQL to fill a selection list:

    Select d, ch from
    (
    Select ft. FAMT_NAME d, pi. R FAM_ID_T of FAMILY_TRA ft
    Join the ck list
    on ck.family = ft.famt_name and ck.newseq in (: NEWSEQ_QUERY_SQL)
    )

    Where NEWSEQ_QUERY_SQL is a part of the application that is defined by a calculation of page and essentially returns a list of values NEWSEQ based on some parameters of the user query. For example:

    Select distinct (ck.newseq) in the ck list where rownum < 20

    The query above works fine with SQL Developer and returns two columns needed (display_value, return_value)

    However, it returns no line, when it is used to fill the LOV to a selection list.

    If I replace the: NEWSEQ_QUERY_SQL with a list of NEWSEQ hard-coded, it works:

    Select d, ch from to)
    Select ft. FAMT_NAME d, pi. FAM_ID_T r
    of FAMILY_TRA ft join checklist ck on (ck.family = ft.famt_name and ck.newseq in ('K0242900', 'K0217200'))
    ) ;

    I can even replace: NEWSEQ_QUERY_SQL with hard-coded SQL and it works:

    Select d, ch from
    (
    Select ft. FAMT_NAME d, pi. R FAM_ID_T of FAMILY_TRA ft
    Join the ck list
    on (ck.family = ft.famt_name and ck.newseq in (select ck.newseq from the list ck where rownum < 20))
    )

    But if there is a connection variable (: NEWSEQ_QUERY_SQL), it doesn't.

    Selection lists are driving me crazy! They seem incredibly capricious.

    Hello:

    You cannot link a "sql statement" that bind the value you're trying to do.
    P2_FAMILY_LIST must be the SQL statement you executed for the LOV. Something like

    select d, r from
    (
    select ft.FAMT_NAME d, ft.FAM_ID_T r from FAMILY_TRA ft
    join checklist ck
    on (ck.family = ft.famt_name and ck.newseq in (select ck.newseq from checklist ck where rownum < 20))
    )
    

    CITY

  • problems with customization select lists and popup LOVs

    Hello


    I have 2 problems on selection lists and popup LOVs.

    The first is on a list in tabular form.
    It must be created with APEX_ITEM. SELECT_LIST_FROM_LOV or similar and take its values of a named LOV.
    This worked fine, but now it should also have the possibility to enter a free value.
    I tried to accomplish this by creating an APEX_ITEM. POPUP_FROM_LOV, but there is a problem with the function which is called the icon of the right arrow to the input field (for eg. genList_f11_5()).
    If the line is added by addRow, then it works fine, but if the line is not empty
    Then the function call is as genList_f11_$ _row () and the input field becomes worthless, when an LOV is selected.


    The other problem is on a list of selection that should have the opportunity to enter a custom value and
    It should also be able to select multiple values. I tried to implement this in a text box that contains the selected values, and a multiple select list, with an event handler in each option. The user can click on options and they would be copied into the text box. The problem is that I couldn't make the event handler works in Internet Explorer.

    I would like ideas on one of these problems.



    Tiina

    Hello

    It can be created at APEX_ITEM. TEXT.
    APEX_ITEM also generates the name attribute that I use the jQuery selector in the sample.
    Use jQuery UI autocomplete just similarly as in my example with APEX_ITEM

    Kind regards
    Jari

  • dynamic selection list hangs with php

    Hi all

    I can't get a list of dynamic selection of work in dreamweaver. It completely crashes whenever I try to add to my page. I found someone else in the forum who had the same problem, but no one ever answered. I've tried several things, including putting just the dynamic record and select on its own page with no other code in this regard. He always breaks DW. I also tried this coding myself by making a listmenu and change it so that the value of the option equals a value PHP echo. It crashed too much here. Does anyone have a piece of code with a selection list dynamic work that uses a recordset that I could look at? This way I can see where I am going wrong. All I'm trying to do is to get a simple drop-down menu select list of employee names, so anyone can choose their name for advice. This is a table, a set of records 2 fields (first and last name).

    Using DW CS3, php & MySQL, windows XP Pro

    Any help would be really appreciated!

    That's all! Thanks a lot for your help!

  • BB10 - problems w / dynamic populating list of images with the data of WebSQL

    Hi all

    So I'm having a few problems with the definition of the element's onclick attribute when dynamic filling an image list.

    function listAllRooms() {}

    ...

    DB.transaction (function (tx) {}
    tx.executeSql ("SELECT * FROM ROOMS, [], {}, function (tx, results)")

    for (i = 0; i< len;="">
    elName var = results.rows.item (i) .name,
    elID = results.rows.item (i) user.user;

    Item = document.createElement('div');
    item.setAttribute('data-bb-type','item');
    item.setAttribute ("data-bb-title', elName");
    item.innerHTML = 'Description here.';
    item.setAttribute ('data-bb-img', ' foo.png');

    Item.onclick = function() {bb.pushScreen ('showRoom.html', 'Show-Room', {id: elID}) ;};}

    Items.push (Item);
    }

    document.getElementById('rooms-list').refresh (items);
    (}, null);

    });
    }

    My problem is the bold red line. What happens is that each item links to the last point (last row of the table). I know it has something to do with the callbacks and synchronization but cannot for the life of understand me.

    My apologies for the ugly code and thanks in advance for the help.

    Karel

    In fact, I managed to make it work this way:

    item = document.createElement('div');
    item.setAttribute('data-bb-type','item');
    item.setAttribute('data-bb-title', elName);
    item.setAttribute('data-id', elID);
    item.innerHTML = "Description here.";
    item.setAttribute('data-bb-img','img/icons/item-dark.png');
    item.setAttribute('onclick', "bb.pushScreen('show.html', 'show', {type: 'item', id: " + elID + "})");
    

    Thanks for all your help!

  • change the results of the report with the selection list using dynamic action

    This is one of those situations where if I could understand the appropriate search terms to use, someone else must have asked this question in the past.

    I have a report with a SQL query with a condition based on a list of selection on the same page. So I have a list of selection -: P177_FISCAL_YEAR

    My request for my report is:

    Select md_id, display_name, description
    of media_tbl
    where fiscal_year =: P177_FISCAL_YEAR

    When a person makes a selection on the selection list (: P177_FISCAL_YEAR), I would like to report up-to-date without having to submit the page. I was hoping that I could do something like this using a dynamic action but have not found a way to do it.

    Thanks in advance!

    John

    Create dynamic Action:

    When
    Event: change
    Selection type: product (s)
    Article (s): P177_FISCAL_YEAR
    Condition: - unconditionally.

    Real Actions (add 2 real actions)
    -the first is to load the value in session state so that the report can see.
    Sequence: 5
    Action: execute the PL/SQL Code
    Code PL/SQL: null;
    Items to submit page: P177_FISCAL_YEAR

    -the second to refresh the report
    Sequence: 10
    Action: Discount
    Selection type: region
    Region:

  • Slight problem of AJAX selection list, I hope...

    I probably looked at all the examples that uses AJAX to fill selection lists that are out there and eventually got a job almost completely.

    In my application, I use a form on page 23 to create a folder and then also use a form on page 22 to update a record. Two of these pages, I have 2 selection lists that use AJAX to complete each other. On my page of form creation, these two select lists display properly and correctly submit a report page.

    Now, when I click on the document I just create the homepage, I get redirected to the update (page 22) page where I just submit all items are displayed correctly except the second selection list. The second selection list displays the correct list of the elements in the selection list, not the one I had just chosen. What is shown is the first option in the selection list, no matter what I had selected when I created the folder. Always the first option display anything in my code?

    Thank you
    Deanna

    For example:

    My current output:

    P.23 (creation of registration)
    Parameters:
    : P23_CASE_NUMBER - 9999999999
    : P23_CONT_FACTOR_CATEG - driver distracted by
    : P23_CAUSES - other electronic devices

    PG.22 (update record)
    Parameters:
    : P22_CASE_NUMBER - 9999999999
    : P22_CONT_FACTOR_CATEG - driver distracted by
    : P22_CAUSES-Mobile (cell) phone (WRONG)(first option in the list)
    --------------------------------------------------------------------------------------------------------------------------------------------------

    The output that I would see:

    P.23 (creation of registration)
    Parameters:
    : P23_CASE_NUMBER - 9999999999
    : P23_CONT_FACTOR_CATEG - driver distracted by
    : P23_CAUSES - other electronic devices

    PG.22 (update record)
    Parameters:
    : P22_CASE_NUMBER - 9999999999
    : P22_CONT_FACTOR_CATEG - driver distracted by
    : P22_CAUSES-other (CORRECT) Electronic Devices


    Current code page 22 (Update Page):
    This is from the Header HTML
    ---------------------------------------------------------
    <script language="JavaScript1.1" type="text/javascript"> 
    
    function get_TASK_SELECT_XML(pThis,pSelect){
    var l_Return = null;
    var l_Select = $x(pSelect);
    var get = new htmldb_Get(null,$x('pFlowId').value,
    'APPLICATION_PROCESS=TaskXML',0);
    get.add('WORK',pThis.value);
    gReturn = get.get();
    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>


    This is the application process - TaskXML
    --------------------------------------------------------
    begin

    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;

    htp.prn('<select>');
    htp.prn('<option value="' || -1 || '">' || ' - Select-' || '</option>');

    for rec in (select cause , cause
    from cause where categ = :WORK)
    loop
    htp.prn('<option value="' || rec.cause_number || '">' || rec.cause || '</option>');
    end loop;
    htp.prn('</select>');
    end;

    Hello

    There are a number of issues here:

    1. remember that creation and editing features are on TWO different pages - when you refer to "the page is not save...". ' is in fact another page
    2. in the CHART table, you have an ID column AND a column RECNUM. You use the RECNUM column in the report link. In the CHART table, there are plenty of duplicates in the column RECNUM, which made it impossible for me to test - whenever I've created a new record that he got the same RECNUM value as an existing record, and I couldn't change then my new record as the process of "search...". ' incorrect 'more than one folder. You must use the ID column in the link, because it is unique
    3. on the selection of CAUSE list, you had a few items in quotes - I have no idea why. It was actually a good deal to do for your original problem. During the construction of the selection list, the value of the CASE is used as the VALUE attribute on the OPTION tag by enclosing it in quotes. What were you end up with is: < OPTION VALUE = '"sometext" ' > 'etc' < / OPTION >. The VALUE is, therefore, ""-an empty string. I removed the quotes from the data
    4. more importantly, as the CAUSE table made a unique ID column, this should be used as a return value for the list and therefore, the value stored on the CARD table. If you do this, you use the quotation marks if they are in some cases

    Andy

  • Problems with dynamic links between Premiere Pro and After Effects

    Hello

    dynamic binding (insertion of After Effects compositions on a Premiere Pro schedule) rarely worked properly since it was introduced. Problems vary (for example "media disconnected" made plates, old versions of comps rendered).

    What's worse, is that you can never tell what will be ultimately made out of Premiere Pro. Thus, a typical professional workflow to several projects together to finish during the day and batch overnight rendering can cause a catastrophe.

    Of course, the option is to not use dynamic link. Which makes then less competitive whole adobe.

    This subject has been widely discussed for years has been a dynamic links. I'm not the only one having this problem, and the problem is far from new.

    My only question is:

    Adobe: have you ever fix dynamic links?

    I don't really understand how you focus on software development in your company. The vast majority of the features of CC is little or not useful. The most important thing in a professional environment is consistent and reliable - performance can you please focus on that?

    I'm inspired to write this post because I just arrived in my edit at 07:00 only to find that my night makes is the wrong versions. All bed very well in the body and AE, damage the final rendering off Media Encoder used an older version of one of my compositions, and that I have nothing to send to my client.

    Janne

    Title edited by Kevin Monahan.

    Management of files Adobe seems to rely on the names and the last path of known files. Body loses links Dynamics (and other files) with frightening regularity in a situation where nothing has changed in the hierarchy of files, the files.

    16, when a hard disk of 8 GB was a huge drive, Pro Tools has been littering files on several disks because, as was the creation of audio files in real time, she had to. Digidesign introduced into a system which incorporated a unique program generated number in each file. Since that day I have never had a problem with lost files or correlate. I can move them anywhere, on any system and any PT session concludes that they are with total reliability - and we are talking about a lot of projects with thousands of files, through several studios. If you are looking for files, you can choose to use the identification number, the name of the file, the length of the file, or any combination of these. Which allows for the substitution of file.

    Until Adobe address this problem with a solution similar to that of Pro Tools, we'll be constantly beset by problems.

  • problem with dynamic mask.

    I have a video with green screen. I removed the green part of the video. in this way, I have people in the video without background,

    I want to get this effect: Morgan - after - YouTube 01:02 I want to insert a video or an image on top of the population with green screen, but this new video should stay only on the people and it should not cover the bottom.

    I get this with a simple mask for 1FPS, but the people themselves moves and I can change the mask of each image.

    I am looking for an effect that create a dynamic mask or a way of excluding the background in the new video.

    Sorry for my English, but explained a problem with sequels in a another language is very difficult.

    I hope that everyone knows the effects or a video tutorial

    I'm sorry, but I can't see the video in the USA.  However, I think I know what you want to do.  You want the Green people shielded to become invisible.  In their shapes, you want to put the new video.

    It's easy.  Add the video you want to fill the hole of people-shped on your comp.  On the top layer, add the green screen of people.  Now go to the bottom layer and use the layer screen green people as an Alpha inverted Matte.  You will see your video of replacement in a hole in the form of people.

  • Hi, problem with the selection and processing

    I'm having problems with re-sizing any shape using the Selection (V) tool. It did not work properly, I don't know how it has stopped working. Is it possible to fix this?

    Thank you.

    Navid

    Navid,

    Display > display the bounding box?

    CTRL / Cmd + Shift + B to toggle between Hide and Show, one of the regular keyboard mishits.

  • Dynamic selection list: link to another page

    Hello

    Following the list of dynamic selection at the bottom of page "product.php" (www.dolls.com.sg)

    < div id = "selectcat" >

    < select name = "Catégories" >

    <? PHP

    {}

    ? >

    < option value = "<?" PHP echo $row_rsCategories ["categoryName"]? > "<?" PHP if (!) () strcmp ($row_rsCategories ["categoryName"], $row_rsCategories ["categoryName"]))) {echo "selected = \"selected\"" ;}? "} > > <? PHP echo $row_rsCategories ["categoryName"]? > < / option >

    <? PHP

    } While ($row_rsCategories = mysql_fetch_assoc ($rsCategories));

    $rows = mysql_num_rows ($rsCategories);

    If ($rows > 0) {}

    mysql_data_seek ($rsCategories, 0);

    $row_rsCategories = mysql_fetch_assoc ($rsCategories);

    }

    ? >

    < / select >

    My goal is, whenever a visitor clicks on a category in the drop down menu, it is transmitted to the respective page "categories.php".

    How can I do?

    Thank you

    Helmut

    Change your code to this:

    In categories.php, use $_GET ['categories'] to filter the Recordset.

  • Problems with convert selection to 3D Reppouse

    I'm currently building a logo using the Reppouse PS CS5 Extended 3D feature. I have items separated all to convert to a 3d object and set up. It will be exported to After Effects.

    My problem is with the addition of the effect of 'Current Selection' here is a picture next to the item, I work with, and what is happening during the conversion to 3D.

    3drepo.jpg

    How can I get photoshop to recognize the empty spaces? Or, is there a way to cut all the gray that it inserts into the empty should be?

    The service recognizes the empty spaces in the text, I have no problem with that. And I use is just the cage of gold so I'm stuped as to why the program rejects my selection.

    -Thanks in advance

    MHL

    Check constraints in the regrowth Panel options.

    Mylenium

  • Problems with the selections in cs5

    Hey, recently I started noticing odd behavior that's not happened before involving selections in photoshop cs5.

    the first thing I noticed, when I made a selection with the lasso on any given layer and hit transform, the tool only has not automatically select active pixels as it did before. Instead, the processing area was around the entire selection, I did even if the borders do not contain active pixels. It is a very big problem for me because when I have my items in a certain place, and I want to turn them in this position, thay move somewhat because the selection is not limited to the shape. I was wondering if this is some new CS5 that can be changed. or old function that I've accidentally switched on.

    My second problem is that when I make a selection with the Selection tool or the lasso tool, then I swiitch on the move tool to move the selected content and then switch back to a selection tool to delete only a part of the previous Thatcher so that I can spend the rest of the content, place of deselection of this region, it erases the pixels contained in the deselection. and I just want to remove the selection, do not delete the pixels. I also wonder if it is a function that can be modified or if I have a big problem.

    Any help will be much appreciated.

    AD 1)

    A solution might be to switch to the tool move and press the left and right arrow in the order.

    AD 2)

    One solution might be to enter and exit quick mask by Q hit twice.

  • Problem with dynamic text

    Hello, all.

    I'm having trouble with dynamic text not displaying only not on the scene during execution.  When I test the scene, fields of text but loading, but when I test the movie, or run publish a snippet, the text is not there.  Some figures appear unstable in the text fields, but are often completely empty. --J' did ensure that the fonts have been included and I can't understand why this is happening.

    Any ideas or suggestions are greatly appreciated.

    Thank you.

    Try another font which has called to work correctly, such as Arial and see if you still have the problem. Not all fonts can be embedded correctly...

  • Weird problem with dynamic text

    Hello

    I created a dynamic text field - mediaImportName001 (created and it contains the name of a file that I have chosen to import them using a browser (as3 and AIR) button.)

    It works very well - I can import the file, and the name appears in the field.

    I would now like to pass the content of the text field to another text field.  But I'm not content. If I try to find the contents of the textField trace("mediaImportName"+thisNum).text - Flash returns "undefined" (even though I'm him asking to draw once the field has been filled).

    I use the following code to check that the material is really there and named correctly (the code returns the children):

    for (var i: uint = 0; i < this.numChildren; i ++) {}
    trace (this.getChildAt (i) .name + "\t type:" + typeof (this.getChildAt (i)) + "\t" + this.getChildAt (i));
    }

    It returns:

    object: type instance370 [object, form]
    object: type mediaImportName001 [TextField object]
    object: type mediaFiletype001 [TextField object]

    How can I get Flash to give me the text in mediaImportName001?

    It's weird - this.getChildAt (i) .name

    from above gives me...

    mediaImportName001,

    yet

    trace (['mediaImportName' + thisNum] .name);

    returns undefined (thisNum represents an increment I used to name several clips and text fields and in this case trace (thisNum); return 001)

    Any ideas why this happens?

    Thank you

    Shaun

    No logic problem, just a problem with describing the problem (as far as the fix goes) and using the property name (as far as the issue goes).  There is a difference between the creation of a dynamic textfield (a type of textfield) and dynamically a textfield (using code to create).

    In AS3, the name property is a property and it is not the same as the name of the instance that you can assign to an object on the stage.  To target an object using its name property, you must use the getChildByName() method, or alternatively, you can use the variable you used to create it.  You may need to cast as a TextField object as well as to operate...

    trace (TextField (this.getChildByName ("mediaImportName" + thisNum)). (Text);

    which would produce the same result as the use of...

    trace (mediaImportName.Text);

    I don't know how the numbering disperses on "001", but you might find it easier to work with by storing just the instances of an Array by using the media_file_num to set the index where they get.  Then, you would be able to target the textfield to help...

    trace (tfArray [thisNum]. (Text);

Maybe you are looking for