How can i get the name of form object

hi
can anybody tell me how we retrive the name of form on our webpage
i try it
document.form[0].name (i define a function in javascript for matching purpose and i want to get the form name in this function)

Hi,
The following example gives you an idea. Implement according to your needs
<html>
<body>
<form name="testform">
<input type="text" name="txt" value="tesg ">
<input name="submit" type="button" value="click" onClick="this.form.txt.value=this.form.name">
</form>
</body>
</html>bye for now
sat

Similar Messages

  • How can I get the name of a output module template

    Hey guys,
         SDK newbie here.
         How can I get the name of every output module template?
         Thanks
    Zhiqiang Li

    Ok. Bravo
    Please mark this as 'Answered' - it will help others on the forum -

  • Network : How can I get  the name of all computers in the lan ?

    Hi.
    Network : How can I get the name or the IP of all computers in the lan ?

    Easiest way to find all IPs would be to scan the network. Ping every possible IP in the network and all IPs that replied to the ping exist.
    Since I don't know how to do a ping in Java, I would scan for some Ports used by OS Services.
    Since I don't know which ports are used by windows, I think you should look for a ping class (or library).
    Scanning all ports for every IP in a class C network shouldn't take too long. And after finding one port you don't have to try the other ports for that IP, since it has to be online ;)

  • How can I get the name of weblogic.Server

    Hi all,
    in my EJBs I want to know, on which server instance I´m running. I need this for
    logging info. How can I get the servers name?
    When I load the JNDI tree and select java:comp, an error occurs and a lot of information
    is printed. One is weblogic.Server and that is what I´m searching for.
    I use WLS 6.1 SP1
    Any ideas? Thanks,
    Nicole

    Use JMX. See http://dima.dhs.org.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Nicole" <[email protected]> wrote in message
    news:3c4d6daa$[email protected]..
    >
    Hi all,
    in my EJBs I want to know, on which server instance I´m running. I needthis for
    logging info. How can I get the servers name?
    When I load the JNDI tree and select java:comp, an error occurs and a lotof information
    is printed. One is weblogic.Server and that is what I´m searching for.
    I use WLS 6.1 SP1
    Any ideas? Thanks,
    Nicole

  • How can I get the name of an internal table in a textfield?

    Hi,
    I have defined an internal table in a program. Now I need the name of thist table (<u>NOT</u> the components!!!) in a textfield.
    Example for Data-Definitions in my Program:
    data: begin of it_tab occurs 0,
            feld1  like icon-id,
            feld2  like icon-name,
          end of it_tab.
    data: tabname(30) type c.
    How can I transfer the name "IT_TAB" into the field tabname?
    Thanks in andvance!

    No, it has to by 'dynamic'. I don't want to transfer it hard, because it should work for any internal table name.
    The requirement is: There are many function modules that have an input field TABLENAME. I have to give the tablename in the Form 'IT_TAB'.
    But I look for a possibiltity not to write:
    tabname = 'IT_TAB'.
    For DDIC-Tables its not a problem, but I dont know a way for internal tables.

  • How can I get the name of the column in Cursor

    hi,
    how can i derive the name of the columns in cursor
    e.g
    suppose I have a cursor
    cursor c is select * from emp;
    c1 c%rowtype.
    for c1 in c
    I want to display the name of the column how can I do. i don't
    remember the name, but i need it to be displayed tooo.
    thanx in advance
    Sreekant

    You can only do this by DESCing the tables in the cursor and
    then coding eg. v_no := c1.empno;
    APC

  • How can I get the name at webdb login to pass to reports?

    Where can I get the name of the user who has connected to webdb
    site to pass to some reports?
    the sql code:
    select * from table
    where name=user;
    isn't working !
    that returns WEBDB_SITE_PUBLIC
    It is something with DAD? I must change something?
    Thanks very much!

    Ok. Bravo
    Please mark this as 'Answered' - it will help others on the forum -

  • How can I get the name of an Array Item in LabVIEW

    Hi,
    I would need to display the name of the items in the Step.Result.Measurement array in a VI. I can access these properties using the index, but I don't know how to get the name of them like Step.Result.Measurement[0] .
    Is there any suggestions to do it in an elegant way?
    Andras

    Hi Andras,
    look here.
    Regards, Guenter

  • How can i get the name of a method

    i have a method which is calling another method.
    how can this submethod get the name from the main method?
    Thanks
    Thorsten

    There was a post about this a while ago, but I can't find it.
    Check out the getStackTrace method of Throwable (not the printStackTrace method). getStackTrace returns a StackTraceElement array. Each StackTraceElement has a getMethodName() method. In the returned array, the StackTraceElement at index 0 is the stack frame that the Throwable was created in, and the element at index 1 is the stack frame that your method was called from.
        public String getCurrentMethodName () {
            StackTraceElement[] st = (new Throwable()).getStackTrace();
            // Index 0 is the stack frame of "getCurrentMethodName"
            // Index 1 is the stack frame of the method that called this.
            // Index 2 is the stack frame of the method that called THAT.
            // Note that st[1] should always exist because this method
            // will always be called from another method (main, at very
            // least).  
            return st[1].getMethodName();
        public void myMethod () {
            System.out.println("The name of this method is " + getCurrentMethodName());
        };Hope that helps. I didn't test it, but it should work.
    Jason

  • How can I get the name of my songs in iTunes

    I imported the songs in my iTune without internet connect before, now I can connect to internet, how can I get my song's name?
    Thanks.

    If you imported them from CD, using iTunes, select all tracks of the album and choose 'Get CD Track Names' from the 'Advanced' menu.
    This does not work if you imported them from a playlist or imported them from CD with another application and then added them to the iTunes library.
    Hope this helps.
    M
    17' iMac 800 MHz, 768 MB RAM, 200 GB HD, DL burner   Mac OS X (10.4.8)   iTunes 7.0.1

  • How can i get the name of the next field

    Hi,
    I am doing a Module Pool Program having various text boxes. I want to know that how can I determine the value of the field on which I clicked.
    Basically I want to know the field name whenever a user presses enter on a particular field.
    Regards,
    Siddarth

    Hi Siddharth,
    1. GET CURSOR FIELD f.
       we can use the above command
      to trace the cursor.
      (Just see help on this command)
      It works fantastic.
    regards,
    amit m.

  • How can i get the name of the lan that the task is in from a bean

    I'm using jdeveloper ps6 and i wan to get the name of the lane that the my task now is on to display on a page and to disable and enable some
    user fields depending on the name of the lane, as i've 4 organizations and i want to know the name the current organization to disable some fields.

    did you try to get it from the task payload? In the task payload we will have swimlane role. I think, you can get it from the payload.
    Thank you,
    Keshav CH

  • How can i get the name of a symbol and pass to a variable?

    Hello! Is posible to get the name of a symbol and pass to a variable??
    Thanks
    Sonia

    Ok. Bravo
    Please mark this as 'Answered' - it will help others on the forum -

  • How can i get the position of my object

    HI,ALL! i get a queation now. when i picking some transfromgroup,and move it.(use picktranslatebehavior),i want to get the position of the transformgroup after it has been moved.so how can i get it?!Apology for my bad english .thanks!:)

    Check out:
    http://forum.java.sun.com/thread.jspa?threadID=633485&tstart=15

  • How do you get the name of an object?

    if i create an object...
    Obj1 = new MyObject();
    is there some way to get the name of the
    object "Obj1" inside the object.
    thanks for any help.

    is your example. Obj1 is the name you have given to a reference of an object. You could have said "fred = new MyObject()" right? The compiler doesn't deal with these high level names you gave your objects for the most part. It throws them away. So there is no way to get back the name from inside the object. You can get the name of the type of object from inside it though. If need be. this.getClass().getName() will be the fully qualified type of the object.

Maybe you are looking for

  • I cannot connect to Windows 7 professional from the IOS Remote Desktop client

    The error message is <o:p></o:p> "Reading 17162 bytes of data at offset 3 in a buffer of total size 106" However I make connection with the I Pad connected to the same network as the PC (but on  a different network segment)  the, connection is succes

  • Configuring multenancy in sharepoint 2013

    Is there a good link to show step by step configuration of the multitenancy in SharePoint 2013. Please share

  • Spolight result and Applescript in harmony

    Hello, I'm new to Applescript and what I'm interested in doing seems like a great job for it. I've made a spotlight search on a single folder in the file system and saved the search to its default location (/Users/alex/Library/Saved Searches/searchQu

  • Access Connection and CP_SecuRemoteSecureClient_NGX_R60_HFA3

    Hi, I am having troubles with the Lenovo Access Connections 5 and the Checkpoint RemoteSecureClient for establishing VPN connections.  The VPN tunnel will setup when using LAN or WLAN. I have also installed the Vodafone dashboard wich will allow VPN

  • Generate period work schedule

    Hi All, While uploading data through bdc in foreground for infotype 14, i have got error message as " Generate period work schedule G2DH for 2/M3/01 in 01/2011 " . due to this error data is not getting uploaded but when i uplaod the same data through