Can't be modify the value of window.event.keyCode in IE 11(Windows 7 Premium) where as in IE 8 (Windows XP) its working fine

The following is the sample code whcih I have used to check.<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sample Form</title>
<script type="text/javascript">
function keyDownEvent() {
alert("KD:"+window.event.keyCode);
window.event.keyCode=0;
alert("KD:"+window.event.keyCode);
function keyPressEvent() {
alert("KP:"+window.event.keyCode);
window.event.keyCode=0;
alert("KP:"+window.event.keyCode);
</script>
</head>
<body>
<form>
<input type="text" onkeydown="keyDownEvent()" onkeypress="keyPressEvent()" />
</form>
</body>
</html>
Kindly post your answers, am waiting for answers...

This is the TechNet Forum for questions regarding
Internet Explorer 8, 9, 10, 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions.
For better assistance please ask for help in the MSDN
IE Development Forums.
Thanks & Regards,
Vincenzo Di Russo
Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
Moderator in the Microsoft Community and TechNet Forums
My MVP Profile

Similar Messages

  • Can I modify the value of an enviroment entry for an EJB without having to re-deploy.

    I wish to modify the value of an envrioment entry for an EJB. The entry already exists and has been created using
    <env-entry>
    <env-entry-name>myFlag</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>true</env-entry-value>
    </env-entry>
    I can access the value using code similar to the following:-
    InitialContext initialContext = new InitialContext();
    String value = (String) initialContext.lookup("myFlag");
    However if I try the following:-
    InitialContext initialContext = new InitialContext();
    initialContext.rebind("myFlag", "false");
    I get an OperationNotSupportedException thrown.
    Do I need to use LDAP directly (rather than through JNDI) to modify this value or is there another / better way? If I do need to use LDAP directly what would the code look like ?

    Hi,
    As per J2EE specification:
    Naming environment entries allow customization of a component during deployment or assembly without the need to access or change the component?s source code. The container implements the naming environment, and provides it to the component instance through a JNDI naming context.
    The Deployer can modify values of environment entries that have been previously set by the Application Component Provider and/or Application Assembler.
    Generally only those variables/properties are set in environment entries which are likely to be different on various Application server configurations/installations, so it is not required/advisable to change these entries programmatically. Any way iAS-6.0/6.5 doesn't support changing environment entries programmatically, it binds all the JNDI names during Server startup after reading it from the registry.
    For your purpose you can use a boolean variable in your code to set your flag, and may be put it into session.
    Please feel free to ask further questions.
    Sanjeev,
    Developer Support, Sun ONE Application Server-India.

  • T.code F110 Created a proposal, could I modify the value date?

    Hi All,
    I need to create a proposal with tha value date successive to posting date....
    In particular, i wonder if, before running the payment i can modify the "value date" of the scheduled proposal  by hand.
    Thanks...
    Gandalf

    Hi Umberto,
    My understanding of your requirement is like this: When you make a payment to a vendor, it will be credited in his bank account say 2 days after the payment is generated in your system. Say if you have generated a payment document on 24th March, it will be credited to the vendor account on 26 th march. and you want to maintain the value date as 26th march in your payment document.
    If this is the requirement, maintain value date in FBZP settings, under bank determination, for the payment method/hosue bank and HB ID combination. You have to mention number of days to value date.
    Please let me know if this is your requirement

  • FB70: How t o modify the value of BSEG-XREF before posting?

    Hi ABAP Gurus,
    Good day!
    I would like to know the correct way to modify the value of BSEG-XREF1 in FB70 (Prior to posting of document).
    Currently, I have tried using substitution. First, I copied RGGBS000 into ZRGGBS000 AND added form u300, which will modify BSEG-XREF1.  Second, I have added a step to an already existing substitution (COGS), which was set-up in transaction OBBH.  I have assigned u300 to BSEG-XREF1 (Refernce Key 1).
    The said step didn;t seem to work.  I was able to post a document and then I displayed the document.  Unfortuantely, BSEG-XREF1 hasn't been modified. So,  I tried debugging the form U300.  It doesn't stop inside that form, which means the logic that i put there was useless. By the way, the the formname that Im using can be found in two internal tables: (1) exits, and (2) etab.
    Kindly advise on what to do.   Thank you very much!
    <b>Best Regards.
    Brando</b>

    Check this sample code which i've used to substitute the field BSEG-ZUONR
    Also ensure that the callup point in <b>OBBH</b> is 2
    Don't forget to attach ur <b>ZRGGBS000</b> to the application area <b>GBLS</b> in the tcode <b>GCX2</b>
    FORM get_exit_titles TABLES etab.
      DATA: BEGIN OF exits OCCURS 50,
              name(5)   TYPE c,
              param     LIKE c_exit_param_none,
              title(60) TYPE c,
            END OF exits.
      exits-name  = 'U102'.
      exits-param = c_exit_param_field.
      exits-title = text-101.           " Ship-to-Party to Assignment field
      APPEND exits.
      REFRESH etab.
      LOOP AT exits.
        etab = exits.
        APPEND etab.
      ENDLOOP.
    ENDFORM.                    "GET_EXIT_TITLES
    FORM u102 USING zuonr TYPE bseg-zuonr.
      bseg-zuonr = <value>.
    ENDFORM.

  • Modify the value of a cell in an ALV. Rewarding points.

    Hello Gurus, i am modifying the value of a certain cell in the internal table that is displayed in the ALV using the data_changed event, but when i refresh the ALV the values shown are the old ones.
    Help.

    Hello Ioan
    Unfortunately you do not explain you scenario clearly enough. Therefore I must do some speculations.
    You have an editable ALV list. The user can change data but not field USNAMECH which might be the user who changed the data.
    A big question is how the CHECK_DATA_CHANGED event is raised. Perhaps you have registered the EDIT event (method REGISTER_EDIT_EVENT). Then the scenario would look like this:
    1. User changes data and pushes the ENTER button.
    2. Since the EDIT event is registered this triggers event CHECK_DATA_CHANGED.
    3. In event handler method ON_DATA_CHANGED you enrich the changed data with the name of the current user.
    4. And now you need to push this data back to your ABAP.
    If this is your scenario then just trigger PAI from within your event handler method ON_DATA_CHANGED:
    METHOD on_data_changed. "xxx
           modify itab index mod_cells-row_id from wa_itab transporting USNAMECH disponibilrag.
              "CALL METHOD grid->refresh_table_display.
      CALL METHOD cl_gui_cfw=>set_new_ok_code
        EXPORTING
          new_code = 'DUMMY'
    *    IMPORTING
    *       rc =
    ENDMETHOD.
    MODULE USER_COMMAND_nnnn PAI.
      CASE gd_okcode.
        WHEN 'BACK'  OR
                   'EXIT'     OR
                   'CANC'.
          set screen 0. leave screen.
        WHEN 'DUMMY'.
    "  Do nothing here or perhaps call method:
    " CALL METHOD grid->refresh_table_display
    " Yet should not be necessary.
        WHEN others.
        ENDCASE.
    ENDMODULE.
    Regards
      Uwe

  • MRP_ATP_PUB.Call_ATP api not retrieving requested_date_quantity value when executed in custom schema but when executed in apps its working fine, can anyone help on this..

    The MRP_ATP_PUB.Call_ATP api not retrieving requested_date_quantity value when executed in custom schema but when executed in apps its working fine, can anyone help on this..
    We are passing the required values to the ATP API.
    1) The x_return_status is showing as 'S' i.e. success but x_atp_rec.Requested_Date_Quantity is not returning any value.
    2) If there is a grant issue how to identify it.
    Regards,
        Vinod Annukaran

    Pl do not post duplicates -0 MRP_ATP_PUB.Call_ATP api not retrieving requested_date_quantity value when executed in custom schema but when executed in apps its working fine, can anyone help on this..

  • Rotate tool not working in cs6. It says "Could not complete your request because it only works with OpenGL enabled document windows." Its worked fine in the past....

    Rotate tool not working in cs6. It says "Could not complete your request because it only works with OpenGL enabled document windows." Its worked fine in the past....
    -CharlieH23

    Copy and paste only this area, you may have to scroll down.
    Adobe Photoshop Version: 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 2
    Logical processor count: 4
    Processor speed: 2494 MHz
    Built-in memory: 6019 MB
    Free memory: 3360 MB
    Memory available to Photoshop: 5227 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    OpenCL Version: 1.2
    OpenGL Version: 2.1
    Video Rect Texture Size: 16384
    OpenGL Memory: 2112 MB
    Video Card Vendor: Intel
    Video Card Renderer: Intel(R) HD Graphics 4000
    Display: 1
    Display Bounds: top=0, left=0, bottom=768, right=1366
    Video Card Number: 1
    Video Card: Intel(R) HD Graphics 4000
    Driver Version: 10.18.10.3958
    Driver Date: 20140930000000.000000-000
    Video Card Driver: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,igd10iumd32
    Video Mode: 1366 x 768 x 4294967296 colors
    Video Card Caption: Intel(R) HD Graphics 4000
    Video Card Memory: 2112 MB

  • How to recieve the value in subscribe event??

    Hi, I have to pass selected data in publish event and recieve the value in subscribe event..
    e.g:-publish event----
    data : {
              context : evt.getSource().getBindingContext(),
              selectedValue : model [
                                                  evt.getSource().getBindingContext()

    Hi Kelvin,
    I suppose you select one list item and you want to pass that selected list item to another view.
    Follow these steps:
    1. Create a variables like "var selectedListItem,bindingContext,itemTitle;"
    2. Your list( I suppose you are using StandardListItem) must have an evenhandler for list "select" event like following:
         <List id="yourList"
              select="onListSelect"
              mode="SingleSelectMaster"
              items="{/yourbindingpath}">
         <items>
              <StandardListItem
                   title="{titleBinding}" />
         </items>
         </List>
    3. Create "onListSelect" event handler in your view controller which will give you selected item. Store that value in variable "selectedListItem" and pass it to your publish method.
         onListSelect : function(oEvent){
              bindingContext= oEvent.getSource().getBindingContext();
              itemTitle= listItem.getTitle();
    Regards,
    Rauf

  • Hi There for the last few days I can log into Icloud on my pc but I can't action anything. I can see the emails but cannot view them. I cannot compose a new email.. I don't know if this is icloud or my pc? Its working fine when I access on my iphone..

    Hi There
    for the last few days I can log into icloud via icloud.com on my pc but I can't action anything.
    I can see the emails but cannot view them. I cannot compose a new email.. I don't know if this is icloud or my pc?
    Its working fine when I access on my iphone.
    many thanks
    Cherry

    Just realised its fine through internet explorer but its Mozilla.. so assuming an issue with my browser?

  • Java was blocked due to the threat I have followed the update & other options to reenable it ie.manual updates reinstalls yet websites like YouTube still wont load up.Works fine in Chrome & IE!

    Java was blocked due to the threat I have followed the update & other options to reenable it ie.manual updates reinstalls yet websites like YouTube still wont load up.Works fine in Chrome & IE!

    Your plugins list in "more system details" shows Next Generation Java Plug-in 1.6.0_31 for Mozilla browsers so Java should not be blocked.
    Could you post a link to a webpage where Java isn't working for you? YouTube uses Flash, not Java. Here is a list of Java test pages you can try, to confirm that Java is working, from http://kb.mozillazine.org/Java#Testing_Java
    * [http://www.java.com/en/download/help/testvm.jsp Test your Java Virtual Machine (JVM)] at java.com.
    * [http://browserspy.dk/java.php Java Information - BrowserSpy.dk]
    * [http://javatester.org/ Java Tester] - The test pages at javatester.org will tell you if your web browser is enabled for Java and, if so, the Java version.
    * [http://www.pinlady.net/PluginDetect/Java/ Java Plugin Detector]
    By the way, I see in your plugins list that you also have the VLC media player Web Plugin 2.0.0 so, it's possible that the VLC plugin is causing a conflict if YouTube or other videos don't work. See [[Video or audio does not play]] (you may need to disable the VLC Media Player plugin in the Add-ons -> Plugins list for some media to play).

  • Hi there, i bought my macbook 1 week ago and its working fine. BUT the fan is always running and it is very annoying? what should i do

    hi there, i bought my macbook 1 week ago and its working fine. BUT the fan is always running and it is very annoying? what should i do

    Take it back to the store where you bought it for a hardware check and/or exchange/refund.
    If they say "that's normal" then get your money back.
    Nothing worst than a annoying fan you can't do anything about.
    I has a eMac that did that, sounded like a vacuum cleaner running all the time, I'm so glad I trashed it and will never buy a machine I can hear running in a near silent library.
    Some advice, the higher end models with a dedicated graphics do tend to operate cooler, it's the one's with only CPU graphics (Intel) regardless if a Mac or PC that tend to make a lot of noise.
    Graphics should have never been put on the CPU, it just doubles the heat and doubles the fan noise.

  • Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

  • The new version of firefox does not shut down when I close the browser it continues running in the background. In addition it opens Adobe Reader for a brief time and then that closes. Everything worked fine before this new version.

    Firefox automatically loaded a new version recently. The new version does not shut down when I close the browser it continues running in the background. In addition it opens Adobe Reader for a brief time and then that closes. Everything worked fine before this new version.

    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * https://support.mozilla.com/kb/Firefox+hangs

  • I bought the company unlocked phone from apple store Canada. It was originally loaded with software 4.2 and was working fine here in SaudiArabia.  Yesterday I updated with IOS 5.0.1.  Now it is showing that sim is not valid.  The same sim works in other p

    I bought the company unlocked phone from apple store Canada. It was originally loaded with software 4.2 and was working fine here in SaudiArabia.  Yesterday I updated with IOS 5.0.1.  Now it is showing that sim is not valid.  The same sim works fine in other phones.

    Here's and update on my problems and here are are some screen shots of the types of problems I've been having since the v5.0.1 update. Keep in mind these are native apps and I have tried the rebuild phone crap many times, nothing helps.
    This is screen shot of a what happened when I tried to use my camera one day, both the front and back cameras were all black. I had to power cycle the phone to get rid of this problem. The cameras appeared to be working correctly, I could focus and zoom but it was all black.
    Here is an image of what happened when I searched for something in a map. This is after I picked the choice I wanted, the keyboard disappeared but the list didn't. I had to force close the app and restart it for this problem to go away. Who knew five bars on ATT was possible.
    And finally this is the messaging app, although you would not know it. I had to return to home screen (after a long pause for it to process the button push) and return to the messaging app. This happens all the time with the messaging app and the notifications sounds drive me crazy. If  i'm using the phone, say browsing the web and I get an incoming message its almost 100% of the time the messaging app will screw up. The sound will play at the wrong time or not at all, message will show up in notifications and diasapear in message app or Ill have a problem like this:

  • When we using overflow-x and overflow-y in tbody its not working properly. In the previous version i.e. 3.7.1 its working fine the same coding....Please help me.

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/828024]''
    when we using overflow-x and overflow-y in tbody its not working properly. In the previous version i.e. 3.7.1 its working fine the same coding....Please help me.

    See:
    *https://developer.mozilla.org/en/Firefox_4_for_developers#Miscellaneous_DOM_changes
    *http://www.cssplay.co.uk/menu/tablescroll.html
    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

Maybe you are looking for