While i press the key its sholud be convert to upper case using java script

hai
have a peace day.
give me a code for
while i typing a text in lower case but it should be displayed in uppercase format in the textbox
any body now the code means please help me
thank u

<%@ page contentType="text/html;charset=windows-1252"%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    <script language="javascript">
      function setUpperCase(val){
        val.value = val.value.toUpperCase();
    </script>
  </head>
  <body>
  <input type="text" name="textfield" onkeydown="setUpperCase(this)" />
  </body>
</html>

Similar Messages

  • When pressing enter the values are converted to upper case in module pool

    hi
    tehre are three fields for maintanece in module pool
    wheni press enter the fields are converted to upper case i want to avoid this as i dont want to have the upper case
    i need to save in table as waht user has inputed not in upper case
    so i dont want the fields to be automatically converted to upper case whne pressing enter on screen
    regards
    Nishant

    hi Nishant ,
    <b>The solution to ur problem is breifly explained with a sample module pool program .</b>check it below :
    IN the TOP INCLUDE**********************
    DATA :
           wempid TYPE z7684dp-empid ,   " same name as in the screen declaration
           wname TYPE  z7684dp-name,
           wacc TYPE  z7684dp-account,
           wdesg TYPE  z7684dp-designation,
           ok_code TYPE sy-ucomm ,
           wa_z7684dp TYPE z7684dp,
           t_z7684dp TYPE STANDARD TABLE OF z7684dp,
    *****IN THE PAI OF THE SCREEN 100(for example)***********
    MODULE user_command_0100 INPUT.
      CASE ok_code .
        WHEN 'CRE' .                 " function code for the pushbotton to insert the values
    TRANSLATE wdesg TO LOWER CASE.
    TRANSLATE wempid TO LOWER CASE.
    TRANSLATE wname TO LOWER CASE.
    TRANSLATE wacc TO LOWER CASE.
          wa_z7684dp-empid = wempid .
          wa_z7684dp-name = wname .
          wa_z7684dp-account = wacc .
          wa_z7684dp-designation = wdesg .
          INSERT INTO z7684dp VALUES wa_z7684dp .
          IF sy-subrc EQ 0 .
            MESSAGE 'SUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
          ELSE .
            MESSAGE 'UNSUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
          ENDIF.
          CLEAR: wa_z7684dp , wempid , wname , wacc , wdesg.
    REVERT BACK WITH ANY FURTHUR QUERIES
    <b>DO REWARD WITRH POINTS IF USEFUL :)</b>

  • I pressed power key while i pressing option key and my makbook sounded bad what did happened?

    i pressed power key while i pressing option key and my makbook sounded bad what did happened?

    Chipmunk International BV | Home | Aanbiedingen | Produkt Overzicht
    If you don't have an account but would like to open one click here.
    1301...
    Model introduced: 2009
    Serial number: W89380AH9GU (cleaned up from 'W89380ah9gu')
    Production year: 2009
    Production week: 38 (September)
    Production number: 357 (within this week)
    Model Number: MB881
    Group1: MacBook
    Group2: nothing
    Generation:
    Machine Model: MacBook5,2
    CPU speed: 2.13GHz
    Family name: A1181
    Screen size: 13 inch
    Screen resolution: 1280x800 pixels
    Colour: White
    Memory - flavour: DDR2-S-800
    Memory - number of slots: 2
    Memory - maximum total: 6GB
    Memory - largest module: 4GB
    Toebehoren en uitbreidingen bestellen:     Art#     Prijs
    2GB SO-DIMM geheugen Mac 200pin DDR2 800MHz     A-3571      € 29,00 ex BTW
    Power Adapter 85W voor MacBook (16,6v)     A-4020      € 18,00 ex BTW
    Factory: W8 (Shanghai China)
    External link: Repair guide by iFixit
    Uitbreidingen: Uitbreidingsmogelijkheden van dit apparaat
    Please enter any (extra) information you have on this model in the box below. (Type of Mac, CPU speed):
    If you like this service and it has been of use to you then please donate us a dollar (just one will do). All donations no matter how small are greatly appreciated!

  • I have a problem in iPhone . When you receive a contact and press the key at the top to cancel the contact screen stopped working .ataml times after the last restart device

    I have a problem in iPhone . When you receive a contact and press the key at the top to cancel the contact screen stopped working .ataml times after the last restart device

    Since restarting did not help, reset your iPhone, see: Turn your iOS device off and on (restart) and reset  http://support.apple.com/kb/ht1430
    If that still does not solve it, check, if the contact you are trying to add is problematic. Try to save a different contact. Does that work?
    If not, reinstall the Contacts app. This is only possible by restoring your iPhone, unfortunately.
    See: Use iTunes to restore your iOS device to factory settings  http://support.apple.com/kb/HT1414

  • Magic Mouse and MS Word 2011 (under OS 10.7, iMac middle 2011): Marking of word in a document stops after a few seconds while still pressing the left button and keep on moving the mouse (batteries full)

    Software: OS X Lion (10.7.4); Microsoft Word für Mac 2011, Version 14.2.2 (120421)
    Hardware: iMac 2.7 GHz Intel Core i5, 12 GB, magic mouse
    To mark several clauses in a doc-document (in MS Word 2011), I press the left mouse button and move the mouse along the words
    My problem:
    While still pressing the left button and moving the mouse, the marking on the screen stops and I can't change the already existing markings any more (to become less or especially more).
    Who knows:
    - why this happens and how I can abondon this behaviour?
    - is it a settings problem in MS Word 2011 or of OS X Lion?
    By the way:
    - I don't watch this behaviour in MS Excel 2011. There everything works fine.
    - The batteries are fully loaded and I'm about 30 to 40 cm (1") away from the iMac (RSSI: -60 dB)
    Thanks for answers.
    redlef

    I have the same problem now that I've enabled FileVault 2 on Mountain Lion.

  • My ipod power button wont work but i feel it pressing the button. its not stuck its just defective. what do i do

    my ipod power button wont work but i feel it pressing the button. its not stuck its just defective. what do i do

    Try restoring the iPod to rule out a software problem. First restore from backup and then to factory defaults/new iPod.
    Then an appointment at the Genius Bar of an Apple store is in order.

  • Pressing the * key

    I'm new to this blackberry.  How do you press the * key when an automated sysytem asks you to during a phone call

    It worked thanks
    I wasn't pressing it long enough!!

  • How to translate the key words in ABAp program from lower case to upper cas

    How to translate the key words in ABAp program from lower case to upper case?

    Hi Kittu,
    You need to set the Pretty Printer settings to achieve key words in ABAP program from lower case to upper case.
    Utilities -> Settings -> Pretty Printer (tab) -> Select third radio button.
    Thats all.
    <b>Reward points if this helps.
    Manish</b>

  • Hi one pressing enter the fields are converted to upper case

    hi
    in table maintiance module pool program i have created thre are three fields
    kunnr name1 and email id
    now on pressing enter on maintiance screen the all the theree fields are converted to upper case i want to avoid this conversion to upper case....
    pls suggest
    and on pressing enter PAI is callled i want to avoid pai being called at this point of time
    regards
    Arora

    yes i have activated the table
    for tabel mantiance generater it is coming as disble so i suppose no need to gernereate table mantiance gerneartor again/
    ys in dynpro for shp to name uppe or lower case check box is checked but it is coming as disabled.
    pls suggest  how to delect it and wht does upper/lower case check box in special attributed means?
    regards
    nishant

  • Acrobat standard 9.0 error while enabling commets option using Java script object

    I'm using the below java script code in my VB 6.0 application for enabling commets options in the PDF file
    Dim oJSO As Object
    Set oJSO = mPDDoc.GetJSObject
    oJSO.Collab.showAnnotToolsWhenNoCollab = True
    It is working fine till Acrobat 8.0. Now I'm trying with Acrobat 9.0 standard edition, it is throwing scripting error 'An unhandled Win32 exception occured in Acrobat.exe[308].
    Can anyone suggest the way to enable 'comment' options in Acrobat Standard 9.0 using Java Script Object?
    Thanks

    I get much the same problem with VB6, Acrobat 9 Pro and WinXP SP3. When I single step the line:
    oJSO.Collab.showAnnotToolsWhenNoCollab = True
    in debug I go to the error handler for my Sub. Inspecting the VB Err object has Number = -2147417851 and Description = "Automation error
    The server threw an exception." I get a Microsoft crash notice about Acrobat a short while later.
    I've experimented with the JavaScript debugger in Acrobat and you can execute Collab.showAnnotToolsWhenNoCollab = True and reference the value of Collab.showAnnotToolsWhenNoCollab in the console. The problem appears only when accessing Acrobat Javascript through the Interapplication Communication API.
    If anyone can help it would be appreciated. I tried Adobe's Acrobat support and they were no help at all.

  • As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 also how we can insert,update,delete records in list using ECMA script.

    As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
    Thanks and Regards, Rangnath Mali

    Hi,
    According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
    To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
    of the List object.
    To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
    failedCallback). 
    And to delete a list item, call the deleteObject() function on the object. 
    There is an MSDN article about the details steps of this topic, you can have a look at it.
    How to: Create, Update, and Delete List Items Using JavaScript
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • When trying to enter my wifi password the ipod won't let me enter upper case letters. do you have any ideas on how to fix this ?

    when trying to enter my wifi password the ipod won't let me enter upper case letters. do you have any ideas on how to fix this ?

    Try holding the Capslock key with the letter you want to be capitalized. It should work.

  • How to get the context data using java script in interactive forms

    Hi All,
    How to get the context data using java script in interactive forms by adobe,  am using web dynpro java
    thanks.

    Hi venkat,
    Please Refer this link.
      Populating one Drop-Down list from the selection of another Drop-down list
    Thanks,
    Raju.

  • Display pop ups in the jsp by using Java script

    Hi
    can any body say ,how to display pop ups in the jsp by using Java script ?

    that's correct. You can use the below code for AJAX request.
    <script type="text/javascript">
    var httpObject = getHTTPObject();
    //create XMLHttpRequest object
    function getHTTPObject() {     
         var xmlhttp;
         if (window.XMLHttpRequest) // if Mozilla, Safari etc
              xmlhttp = new XMLHttpRequest();
         else if (window.ActiveXObject){ // if IE
              try {
                   xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
              catch ( e ){
                   try{
                        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                   catch ( e ){}
         return xmlhttp;
    //define the function to send the request
    function sendRequest(){
        var currDesc = document.getElementById("description").value;
        var URL =  "manageMaintAction.do"; //action mapping in your struts-config
        var queryString = "currDesc="+escape(currDesc); //get the currDesc value in your action class like request.getParameter("currDesc")
        httpObject.open( "Post", URL, true );
        httpObject.onreadystatechange = cbFn;
        httpObject.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded");
        httpObject.send(queryString);
    //callback fn
    function cbFn() {
        if (httpObject.readyState == 4)
             if (httpObject.status == 200)
              var result = httpObject.responseText;
              alert(result);
    </script>

  • HT3986 My keyboard backlight doesn't work on windows 7 Ultimate but it does on mac OS X Lion version 10.7.3. When I press the keys on keyboard to change the backlight, it just shows me a null on the light bar and doesn't let me turn on the brightness.

    Are there any updates that I need for the boot camp or do I have to go to some settings.

    When you say "null on the light bar" do you mean that there is an on-screen indicator that appears when you press the brightness keys, but it doesn't change?
    Which Mac are you using? I have a 13" MacBook Pro (2010) and those keys seem to work fine for me. But I just installed Boot Camp, so I might be using newer drivers than you are.
    Are you using Boot Camp 4? This just came out with Lion. It allows for automatic updates to the Windows drivers and support software. If you installed Boot Camp before you upgraded to Lion, then you might need to upgrade your Windows drivers to Boot Camp 4. See here: http://docs.info.apple.com/article.html?path=Mac/10.7/en/mchlp15553.html
    If none of this applies to you, then I'm not sure what to do about it, other than talk to an Apple service rep.

Maybe you are looking for

  • Do I need a power converter to go from 220 to 110 on the ipad

    Do I need a power converter to go from 220v to 110v when charging my iPad in Europe?

  • Can anyone explain what this code does.

    <b>Below is the FM for a  SAP Exit Variable ( 0FPER - Fiscal Period Variable ) , I would really appreciate if someone can give some explanation what does the code do.</b> FUNCTION RSVAREXIT_0F_FPER. ""Lokale Schnittstelle: *"       IMPORTING *"      

  • New problem connecting time capsule to PC running windows 7

    I have a time capsule/airport that has been connecting wirelessly to a PC running Windows 7 for almost a year.  The PC is now unable to connect to the time capsule giving an error message of 53 regarding TCP/IP Netbios settings.  I have attempted ope

  • Simple Passthru

    Hey Frnds, Working on a simple file to idoc and then a idoc to file scenario. No mapping is required. Just need to transfer files back-n-forth from FTP server. Believe a simple passthru would work. Can someone suggest some good links/weblogs which de

  • DDNA 11.1.3.5 Template - Adding an Application

    Can anyone shed some light on how to add an applications settings to be migrated using Desktop DNA 11.1.3.5 The Install guide says to use the 'Add Option' button in the Template Editor but from what I can see all that does is adds a meaningless item