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

Similar Messages

  • How can I get my movie to play that I downloaded from my ipad to my pc? It will play the bonus features, scene selection etc but not the movie

    I bought some movies from iTunes to put on my ipad. I stored them in icloud and downloaded them to my pc. problem is that although the bonus features etc will play on the pc, the actual movie won't! What should I do??

    What happens when you try to play the actual film ? And have you tried deleting them and (assuming that they're still in the store) redownloading them via the Purchased link under Quick Links on the right-hand side of the iTunes store home page - or going into Edit > Preferences and on the Store tab ticking the 'show iTunes in the Cloud purchases' tick box so that they show in the My Movies part of your library with a cloud icon against it for redownloading) ?
    (You can't store films in the cloud, whether they will show there for redownloading depends upon what country that you are in - and if you move countries or if the rights-holder removes them then you also won't be able to redownload them. Ideally you'd be taking a backup copy of all of your downloads, and not relying on being able to redownload them in the future.)

  • Adding the Country List in Select Box

    Hi Gurus
    How to add the Country List in the Select box, which are avilable in CRM system.
    If u have any pointers please provide me
    Regards
    Satish

    Hi satish,
    What i understood from your question. You have to make your country group in customizing in crm, follow the path IMG->CRM->E-COMMERCE->E-SELLING define country groups.
    Then you have to assign this country group to you shop.
    Hope it helps you.
    Regards,
    sap-crm

  • How to STOP the allignment feature on the HP Office Jet 8500?

    After years of not even one issue,  one print head went out.  prints perfectly but keeps realligning the printheads after each printing.  There appears to be NO ISSUE with print quality or the print heads how do I stop the allignment issue.

    The document here may help resolve issues with the Officejet 8500 failing alignment.   
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How to stop the white arrow from selecting all layer shapes

    Hi Everyone, I just switched from cs6 to CC. I was very accustomed to this. If I wanted to say make a rectangle shape wider, first I would have the layer shape selected in the layers menu, next I would select the white arrow tool, then I would clicking/drag to select certain points on a shape. Once those points were selected I would just use shift and the arrows keys to extend my shape. Now if I attempt to do so with creative cloud photoshop, if there are any other shapes in the same area, the white arrow tool will select all shapes points, which doesnt make sense to me b/c I still just have the "rectangle shape layer selected in the layers menu". Can anyone help me out? Hopefully I explained myself well enough.

    If you look at the tool options bar with the Direct Selection Tool (white arrow), do you have Select set to Active Layers?
    Have you updated photoshop cc to version 14.2.1?

  • How can I stop the hover feature?

    How can I get rid of the hover-over feature?  Its driving me nuts?

    Make sure that you do not drag a tab slightly down in the browser window while clicking.<br />
    Current Firefox versions have a feature called tear-off tabs.<br />
    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.<br />
    You can drag that tab back to the tab bar in the original window to undo that detaching.<br />
    bug489729 (Disable detach and tear off tab):
    * https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t

  • Can I stop the wi-fi sync dialog boxes?

    Like so many others, I'm experiencing spotty Wi-Fi syncing on iTunes for Windows / iOS 5 / iPhone 4 -- all sorts of intermittent problems, like a lot of people here. It's pretty clear that the software wasn't really ready to release.
    To the point, though: is there any way to convince iTunes to just shut up about it? I get at least 50 dialog boxes for every sync -- cannot connect this, iPhone cannot be identified that, reconnect your iPhone (that's a little challenging, because it's on WiFi, duh!).
    I get that the amateurish software won't work they way it should, but is there any way to just silence it?

    Hi SGoodman
    You cannot rename your Wi-Fi connections.  The displayed name will show the SSID of the Wi-Fi hotspot.  If you would like to customize the name, refer to your Wi-Fi router's manual on renaming the SSID.
    Thanks
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • 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).

  • How to stop the "sign in to icloud" from popping up?

    How can I stop the "sign in to icloud box from popping up all the time? I have an iphone 6.

    This has to be the most annoying thing in Illustrator and has been for the years I have been using it. I click on that icon to switch between having the stroke and fill selected, and it pops up the color panel in place of my swatches panel which is what I need.
    Let's say I have a swatch in my swatches panel that I want to use as the stroke for an object. I currently have the fill selected to work with, so I go down and click the stroke icon (shortcut for that is X but I prefer not to use the shortcut for that function). I then move back over to where my swatches panel is normally, but the damn color panel is covering it now! So I need to make an extra click back over to the swatches panel so I can use it. Such a minor little thing but so incredibly annoying.
    I usually work with a subset of colors in the swatches panel and when I need to use a color picker, I simply doubleclick on the fill/stroke icon on the toolbar. Thus, the color panel is completely useless to me in most cases.
    If I close a panel, any panel, it should not pop up unless I specifically go to the Window menu to enable it.

  • How to do it?? in SELECT BOX

    here is the bean class sample code of getting the result set from
    database
    public void setMembers2()
    String query1="select e.idcode from employee e,wb_login w where e.idcode=w.idcode ";
    stmt1=conn1.createStatement();
    rs1=stmt1.executeQuery(query1);
    System.out.println("Executed query");
    if(rs1.next())
    do{
    id=rs1.getString(1);
    System.out.println("THE IDCODE IS JAVA "+id);
    setId_code(id);
    } while(rs1.next());
    else
    System.out.println("THE IDCODES ");
    here is the sample code in jsp i have to populate the Idcode's in SELECT BOX
    <select name="idcode" size="1" >
    <%
    String str1="";
    promotionbn.setMembers2();
    str1=promotionbn.getId_code();
    System.out.println("THE IDCODE IN JSP PAGE IS "+str1);
    %>
    <option value="<%=str1%>"> <%=str1%>
    </select>
    But in the select box priniting only one record.........

    Hey,
    Where are u defining the get/set methods method ??. The code u gave is not very clear. Acording to what u gave below it will surely print only one record probably the last one.
    KM
    here is the bean class sample code of getting the
    result set from
    database
    public void setMembers2()
    String query1="select e.idcode from employee
    e,wb_login w where e.idcode=w.idcode ";
    stmt1=conn1.createStatement();
    rs1=stmt1.executeQuery(query1);
    System.out.println("Executed query");
    if(rs1.next())
    do{
    id=rs1.getString(1);
    System.out.println("THE IDCODE IS JAVA
    CODE IS JAVA "+id);
    setId_code(id);
    } while(rs1.next());
    else
    System.out.println("THE IDCODES ");
    here is the sample code in jsp i have to populate the
    Idcode's in SELECT BOX
    <select name="idcode" size="1" >
    <%
    String str1="";
    promotionbn.setMembers2();
    str1=promotionbn.getId_code();
    System.out.println("THE IDCODE IN JSP PAGE IS
    "+str1);
    %>
    <option value="<%=str1%>"> <%=str1%>
    </select>
    But in the select box priniting only one
    record.........

  • HELP in Select box

    Hi all,
    I have 3 select boxes in a single JSP page.Like
    First Select box
    <select name="animal>
    <option>Cat</option>
         <option>Dog</option>
         <option>Donkey</option>
         <option>Monkey</option>
         </select>
    Second select box
         <select name="animal>
    <option>Dog</option>
         <option>Donkey</option>
         <option>Monkey</option>
         <option>Cat</option>
         </select>
    Third Select box
         <select name="animal>
    <option>Donkey</option>
         <option>Monkey</option>
         <option>Cat</option>
         <option>Dog</option>
    </select>
    I have the requirement like the options has to come like the above.
    Is any any ways to do it

    Hello all
    I got the solution ie ineach select box i have to forcibly make selected
    <html>
    <select name="a">
    <option value="1" selected>1</option>
    <option value="1">2</option>
    <option value="1">3</option>
    </select>
    <select name="a">
    <option>1</option>
    <option selected>2</option>
    <option>3</option>
    </select>
    <select name="a">
    <option>1</option>
    <option>2</option>
    <option selected>3</option>
    </select>
    </html>

  • Photos/Fotos: One of the most important selection features the is "Star" rating. How on earth can you stop supporting this feature ???

    One of the most important selection features the is "Star" rating.
    How on earth can Apple stop supporting this feature ???
    My iPhoto lib contains >100´000 photos. All of them are rated with stars. Dependent on the rating I distribute the photos on >20 apple devices in our family.
    Many friends of mine do the same.
    It´s time for a severe request to Apple to take over that feature from iPhoto to Photos. They should start to learn, that people that liked their previously released software have spent hundreds of hours to adapt their data with that software to their needs. I´m using Mac´s since 1984. Might be that I start thinking about using different systems if they continue to through away my efforts from the past...
    If you dislike Apples latest moves and like this feature too you need to provide feedback to them on the following web page: www.apple.com/feedback
    Horst

    Remember that star ratings are not part of standard metadata.

  • How I can stop the combo box with list of values from fireing validations

    Hi I'm using Jdeveloper 11.1.2.3.0
    Using Hr Schema employees table
    I Display employees data in af:table
    and I make List Of values on Department_id filed to easy change the employee department
    and another one on Job_id filed
    and Imake them UI Hints as ( combo box with list of values ) in the employeesVO
    the problem is when I Select a value from department or jobs ( combo box with list of values )
    fires the entire filed validations for mandatory atributes
    Note : the af:table Property ( contedelivery) is set to (immediate )
    How I can stop the combo box with list of values from fireing validations

    check it out.,
    http://andrejusb.blogspot.in/2012/09/what-to-do-when-adf-editable-table.html

  • My ipod starts voicing song data, artist data, and playlist data while I am listening to music.  Is this a feature or a defect?  I do not know why it occurs, but the only way to stop it is to stop the music then play the playlist again.

    My ipod starts voicing song data, artist data, and playlist data while I am listening to music.  Is this a feature or a defect?  I do not know why it occurs, but the only way to stop it is to stop the music then play the playlist again.

    To make sure voiceover is off, you need to go to summary screen then click the "Configure Universal Access" button. Then you will get a dialog where you can make sure voiceover is off. All of the boxes in the dialog should be unchecked.
    i

  • A way to temporarily hide the selection box around an object while nudging it.

    InDesign
    I would like to see a simple "Hide All" type command, similar to the "Hide Extras" feature in Photoshop - this would leave the page in a blank/ "preview" like view, but with selected objects still selected and therefore able to be moved around without seeing the Blue Selection Box.
    PROBLEM:
    I am looking for a way to temporarily hide the selection box around an object while nudging it.
    I want to visually nudge items around to find the ideal placement and I find the selection box distracting how it follows the object around as it is being nudged.
    (For anyone familiar with Photoshop, —I am looking for something that works exactly like "Hide" cmd+H  (VIEW > Extras) does in PS - where the selection goes away but the object is still adjustable.

    Thanks, but I don't see how that's helpful really.
    SHIFT+W goes into full on presentation mode already.
    Also, —this still doesn't solve the problem of being able to move an element around without a selection box getting in the way.
    I don't believe that a solution exists, I'm just checking with the community if one does.

Maybe you are looking for