MultiSelect list - select more than 1 value

Hello

Is it possible to select a value greater than 1 in a list of multiple selection via javascript? I can choose the value 1 for help
$s ('P1_MULTISELECT', 'AA');
I want a couple of them selected through javascript.
Experts, please help if you have any ideas...

booth...

Zed,

Try the following, just copy the lines and change the value = "XX" part:

<script src="http://www.google.com/jsapi"></script>

<script type="text/javascript">
   google.load('jquery', '1.3.2');
</script>

<script type="text/javascript">
//<![CDATA[

   $(function(){
      $('select#P1_MULTISELECT > option[value="AA"]').attr('selected','selected');
      $('select#P1_MULTISELECT > option[value="BB"]').attr('selected','selected');
   });

//]]>
</script>

Kind regards
Dan

http://danielmcghan.us
http://www.skillbuilders.com

Tags: Database

Similar Questions

  • I have to remove the duplicate files, but having problems by selecting more than one file in the player at the time.

    I have to remove the duplicate files, but having problems by selecting more than one file in the player at the time. How can I select multiple files at the same time so I can just delete them. I used to be able to do this in previous versions of Media Player, but this function seems now blocked or unavailable. The problem is this: through previous use of media player, it plays all my multimedia files several times whenever a device support has been added. He would try to save the files on my main drive, but since there is not enough room this would save the files somewhere else. This happened several times, I suppose, because when I upgraded my computer and a media scan was conducted he found duplicates of all my media various times of at least 6-8. I've consolidated since my plates on 3-disc multi to, but have now records duplicated hundreds and thousands of duplicate media files. Previous versions of Media Player would allow me to select all files and then delete them both of the reader, but also from my hard drive. So now I'm stuck with more than 300 GB of duplicate media I have to search line by line through all my hard drives to find each duplicate both, unless I can get media player to do what it can. Any help in this area would be appreciated.

    Hello

    1. did you of recent changes on the computer?

    2. is Windows media player files in double creation during playback of music files?

    To delete duplicate entries, click on another feature tab in the drive (for example the current playback), and then click library.

    If this does not remove duplicates from your library, you can use the Add to library dialog box to search computer to analyze a file on your computer the duplicate entries not valid-pointing. The player will remove invalid entries in your library that point to files that no longer exist in the folder.

    Complete the steps above for files that are stored in the hard disks.

    Method 1: Use the add to Library dialog box search for computers

    (a) start Windows Media Player.

    (b) press F3 on your keyboard to open Add to the library of the find computers dialog box.

    (c) click the Browse button to locate the folder on your computer so that your library contains invalid entries. Specify the location of the folder in the box look in.

    If you are not sure what duplicate in your library entry is not valid, you can add a path column to display in your library. Specify the folder on your computer that corresponds to the path not valid file displayed in your library.

    (d) click on the Search button.

    The player will search for digital media files and playlists in the folder that you specify and remove invalid entries in your library that point to files that no longer exist in the folder. If not valid in double entries point to other folders on your computer, repeat this procedure, specify a different folder every time.

    If only a small number of duplicate entries exist, you can delete those invalid manually by right-clicking on the invalid entry, and then clicking Delete .

    For large double-number of entries in your library (or if all your library is duplicated), it might be better to create a new library and delete the files.

    Method 2:

    After you remove the duplicate entries, run the troubleshooting of Windows Media Library settings to solve this problem.

    Open the troubleshooter in Windows Media Library

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-library-Troubleshooter

    Let us know the results.

    I hope this helps.

  • Cannot select more than one bitmap image in desktop Animate

    I can't select more than one bitmap image in desktop Animate. Always select the same object, what should I do?

    I guess these bitmaps are on the scene. They are all on the same layer? Who is always selected is large and, perhaps, on top of all the others?

    If the bitmaps are all on one layer, you can separate each in separate layers. Once you do this, you can lock / unlock layers individually so that you can work with one image at a time.

  • I can't have more than one value of function?

    I hope all of you can point me to some introductory articles/documents on function.

    I know the function is used to calculate a value and it always returns a single value.

    I want to know I can get more than one value of function? If so please share a few lines of code

    Hello

    Certainly, you CAN define functions with OUT parameters. It is generally not advisable to do so, however. Working with settings, for example, can be called from SQL, among other useful things.

    If you are wanting a function that returns multiple values, you would generally be

    -create a procedure that has several OUT parameters

    -create a function that returns a type of object that encapsulates the values that you want to return

    How to make FUNCTION returns several columns and several outputs line

    can functions return multiple values?

    oracle function to return more than one value

    You must give several values of function that can be found in Sql

  • Apex 3.2 passing more than 3 values in a report link

    Apex 3.2

    I have a report that contains a link to a page to update.

    The report is based on a table with a key, based on 5 columns in the table.

    I need to put these 5 items on the page updated with the values in my report with a report link.

    The standard report link only 3 values.

    How can I do this?

    Gus

    A very common question with a number of solutions

    Oracle - passing more than 3 points in a binding column reports - Stack Overflow

    Can I make more than 3 values in column with a link to the column?

    OraFAQ Forum: Application Express & amp; MOD_PLSQL & raquo; How can pass more variable in the column link

  • I can't select more than anything on the window of "program": I can't double click on my titles or my video to resize the... Help, please! Really urgent!

    I can't select more than anything on the window of "program": I can't double click on my titles or my video to resize the... Help, please! Really urgent!

    It works if you click 'Motion' in the effects Panel

  • I can't select more than one object with the SHIFT key, selected in the last Muse app

    Someone who uses the worm. last Muse CC 2014 with Mac OS 10.10.2 and had a problem of selection of several objects by using the Shift key and hold the method has a work around. It's frustrating to try to select several objects and this simple technique does not. This same shift-SELECT approach works fine on the same calculation with other products Adobe such as PS, AI, Id etc.

    I tried your suggestion to select multiple layers but no joy and no floating above the ones I had to choose. I discuss with a representative of Adobe this morning and discovered that it is possible to select more than one by dragging on the elements with the selection arrow. This forces me to block these unwanted layers selected in this shotgun approach first. It's my best work around so far. Shift-click works in the old Muse vs7.4.30 app on the same computer. I enjoyed your suggestion and hope there is a fix for the simple approach shift-click.

  • How to select more than one track

    Hello

    I'm new to Audition and I can't find a way to select more than one clip/track in 2014 Audition multitrack view.  I tried now the shift or command clicking on more than a clip or track, and who doesn't.  I have clips separated on different tracks and I wish I could select them all moving them the same distance.  Is it possible to do this?  Thank you.

    Also, is there something like a "missing manual" online for the hearing?  All I can find are specific tutorials on specific topics.  Thanks again.

    Massi says:

    I tried now the shift or command clicking on more than a clip or track, and who doesn't.

    What operating system do you use? On the PC, the Ctrl key and clicking on the titles is multiple selections, but I don't know if it's the same on Mac computers.

    Oh, and I think that Adobe are looking for an interesting experience. We seem now to be the missing manual, and it's interactive...

  • show more than one value of PLSQL code for screen

    How to display more than one value of PLSQL code on screen?


    Below the code has the function of printing two PLSQL code. Can someone pls change the Javascript code according to the code below.
    begin
      htp.prn('hello world');
      htp.prn('hi');
    end;
    JavaScript:
    Javascript Code
    var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=TEST_PROCESS',0);
    ajaxResult = ajaxRequest.get();
    alert(ajaxResult);
    SKUD.

    OPPS...

    Need arr = ajaxResult.split(':');

    Kind regards
    Shijesh

    **

  • repeating subforms can you script to stop the same value being selected more than once

    I have a LiveCycle form with a subform that is repeated when the first field (text field 2 characters) requires the entry of a code between 01 and 99. You can script so that you cannot enter the same value of code more than once?

    Here's a code in Formcalc that works for you. Put it in the output of the textfield event.

    In this example, the page is called myPage and textField is called TextField1. Rename them as you need.

    indexCount var = 0

    var thisIndex = $. parent.index

    While (indexCount< thisindex)="">

    If (myPage [indexCount]. TextField1 is myPage [thisIndex]. TextField1) then

    xfa.host.messageBox ("you already used this number")

    $ = ""

    endif

    indexCount = indexCount + 1

    endwhile

  • The polygonal Lasso tool - no WARNING WARNING: no pixel is selected more than 50%. The edges of the selection will be not visible.

    I tried for hours without success to snap a portion of a photo by using the tool "Polygonal Lasso" and I get the error "no WARNING WARNING: no pixels are selected to more than 50 percent." The edges of the selection will be not visible.  No matter where you are looking for a solution, it always seems to suggest that you change the "panache".  I did this.  Several times with zero success.  There must be another solution.  Can you help me please?  Thank you.

    Brian Stephens

    You set the pen in the toolbar options to 0 px (zero) before using the Polygonal Lasso tool?

  • Passing more than three values in the link option

    4.2.1

    Hello

    I have a few classic reports that shows the counts of certain elements. I have hyperlinked these counts using the standard configuration of link Apex in the attributes of the column. However, it has kind of only three elements that can be passed to the next page. My question is if I wanted to pass multiple values, that the best option would be? (This is when the user clicks the link)

    Thank you
    Ryan

    ryansun wrote:
    4.2.1

    Hello

    I have a few classic reports that shows the counts of certain elements. I have hyperlinked these counts using the standard configuration of link Apex in the attributes of the column. However, it has kind of only three elements that can be passed to the next page. My question is if I wanted to pass multiple values, that the best option would be? (This is when the user clicks the link)

    More than 1 name/value pair can be entered in the name / value boxes for each item in the column binding: just, separate them by commas (",") and to ensure that the order of matches on names and values.

    OR

    Change the target of the link URL and build the URL of the link yourself using the model APEX standard URL. (APEX will do this automatically if you enter more than 3 name/value pairs separated by commas).

    However, you should be aware that pass several parameters in the URL may lead to problems that some characters have a special meaning in the URL. The best practice is to pass only simple alphanumeric identifiers (and as few as possible).

  • Display more than 15 values in chart

    Hello

    I'm pretty new to apex, and this looks like a very basic problem, I couldn't find an answer on the web:

    How to display value of more than 15 in a simple "Horizontal 2D" histogram?

    I know that the SQL query returns 26 lines, but only the first 15 are displayed in the chart.

    Thank you

    Martin

    Hello Martin,

    Access your query for the chart series.
    Below there is a field named Lines Maximum.

    Check the value in there.

    Best regards, Tine.

  • Slide show, how to select more than one track for background music?

    Hi, my last slide show for about 10 minutes, is it possible that a chosen more than the first track of my music library to play as back ground?  Thank you.  Best bitter

    Could use a music mixing app like garage band to mix two tracks into one.

    R

  • How can I select more than one bookmark at a time so that I can open and then several bookmarks - without the aggravation of back to the list and selecting and opening each one.

    My dozens of bookmarks, I often want to open 5 or 6 of them at the same time - maybe a couple of weather reports, a couple of radio stations, a couple of other Web sites. But I see no way to do this without laboriously find a bookmark, select it, opening the site, then return to the Favorites, find the second bookmark, select it, open the site and so on. There is probably a way for me to select several independent bookmarks, then open them at the same time. Thanks a lot for your help. Don

    Oh I see, when I read your question, my understanding is that you have Web sites that you are opening regularly you would like to open all at once. This is why I have proposed to create a folder with these specific bookmarks.

    However, your clarification, it seems that you want to open Web sites randomly here and there. So, essentially, you want to SELECT favorite sites and then open them at the same time.

    There is a way to do it. Access your bookmarks by clicking on the menu button drop-down orange Firefox (upper-left). It is:

    • Go to \Firefox\Bookmarks\Show all bookmarks;
    • Click on "Bookmarks Menu" (in the sidebar);
    • Use the CTRL key to select your favorite Web sites.
    • Right click and choose "all open tabs.

    It's always a bit laborious, but it's the easiest way, I could find, especially if you want to open several tabs at the same time.

Maybe you are looking for

  • Firefox only installs on a Blackberry Playbook tablet, Daniel?

    You just bought a Blackberry Playbook Tablet and Firefox do not install as a browser. You all another mfg listed, with the exception of the Blackberry, which took important boost product here in the Canada. I ' sure I'm not the only one using Firefox

  • Failed to delete document of network print queue.

    We print to a HP LaserJet 5 using Windows XP.  2 positions are hanging in the print queue. Tried to remove Control Panel command several times and it shows just "deleting - printed" and "removal - print" in the State.  They have been here since yeste

  • eror code 800F0816 security update

    Someone knows how to fix this problem or why its stop my security updates installed.

  • NDK 2.0 - opening IDE after installation errors

    At the previous version. Uninstalled. Installed the new ndk on my Mac - 10.6.8. Now when I open the ide, I get a number of error popups. (1) 'there is an error in the parameters of Configuration of QNX. The QNX_CONFIGURATION environment variable is n

  • Security alerts on attacks of Signature IDS

    I received alerts of attacks IDS on my controllers such as reported by my WCS wireless. How can I stop these attacks?