JavaScript  Method by which we can find out same name textfield data

Hi,
I m using three text box in jsp with same name,
i want to use javascript to show message box in that it will display all value of text field, important ting is that all textfield having same name.
waiting for u r reply,
Vikas

This isn't a Java question. Wrong forum. JavaScript != Java.
Use document.getElementsByName.
<html>
<head>
<script>
function showContents(fieldName)
     var allTheBoxes = document.getElementsByName(fieldName);
     if ( allTheBoxes == null )
          return;
     for ( var boxCount = 0; boxCount < allTheBoxes.length; boxCount++ )
          alert("Value of textfield " + boxCount + ". : " + allTheBoxes[boxCount].value );
</script>
</head>
<body>
     <table>
          <tr>
               <td>
                    <input type="text" name="namedBox" value="" />
               </td>
          </tr>
          <tr>
               <td>
                    <input type="text" name="namedBox" value="" />
               </td>
          </tr>
          <tr>
               <td>
                    <input type="text" name="namedBox" value="" />
               </td>
          </tr>
          <tr>
               <td>
                    <input type="text" name="namedBox" value="" />
               </td>
          </tr>
          <tr>
               <td>
                    <input type="text" name="namedBox" value="" />
               </td>
          </tr>
          <tr>
               <td>
                    <input type="text" name="namedBox" value="" />
               </td>
          </tr>
          <tr>
               <td>
                    <input type="button" name="checkFunction" value="Click Me" onclick="showContents('namedBox');" />
               </td>
          </tr>
     </table>
</body>
</html>

Similar Messages

  • Any way I can find out which router I will receive?

    I just signed up for FIOS and I don't recall seeing anywhere in the process which router I would be receiving. I found a page on Verizon's site that said depending on when I got the router, it would either be a D-link, the actiontec (or a verizon-branded version of 1), or the 9100em, but it doesn't give a clue as to which one to expect if I just placed an order.
    Any idea how I can find out?

    My understanding is Vz is using the the Westell router for West customers and Actiontec for east customers.

  • How can you find out if another VI running on the same computer and how can you find out the name of that VI?

    Suppose that several VIs running simultaneously on the same computer. How can I find out the names of the running VIs, from another VI?
    If the already running VIs are clones of the same basic VI, open and run with the option "Prepare to call and forget", how can I find out the names and index of each clone? 

    I had an application where I spawned (= ran with Start Asynchronous Call) multiple (reentrant) copies of VIs, and would occasionally "lose control" of them.  I needed a way to find all VIs that were running "Top Level" and stop them (so I didn't have to log off from Windows).
    I used the Application Property "All VIs in Memory" to get an array of (wait for it ...) All VIs in Memory.  I took each name, opened a VI reference to it (simply wire the name string in, as the VI is, by definition, "in memory"), looked at its VI Execution State, and if it was Run Top Level, Invoked the FP.Close and Abort VI Methods.  [To prevent the VI that did all this from "committing Suicide", I compared the name string with the current Call Chain, and did nothing if there was a match].
    I think you could adopt this idea to do what you need.
    BS

  • How we can find out reconciliation details for AR.

    Hi,
    We are adding Manual JE as a receipt against for multiple AR invoices. For these entries we are doing reconciliation but my out standing report itu2019s showing as pending amount. In out standing report how we can identify this manual JE is reconciled against for multiple AR Invoices numbers. If we I identify multiple A/R invoice document number then I can disable both entries i.e., AR Invoices and Manual JE in the outstanding report. In JDT1 table intrnmatch field is storing related to reconcilation but itu2019s not stroing against which document numbers they did ? and also I checked AJDT,AJD1 in this also AR Invoice details and for this automatic JE details also itu2019s not storing how we can solve this issues.please guide me.based on docstaus for AR Invoice we can find out but one more i need make cross check.
    SELECT t0.transid, T0.Account, intrnmatch 
    FROM JDT1 T0
    WHERE T0.[TransId] =51162
    Regds,
    Sampath Kumar.

    Hi Sampath,
    I would very strongly recommend you upgrade to version 2007 as soon as possible. Reconciliation behaviour in the lower versions could be inconsistent since there was no partial reconciliation on JE level.
    You will find more info about this here:
    English: http://service.sap.com/~sapidb/011000358700000380562007E
    In order to accurately report on BP balances, make sure you run the ageing report by journal entry in the lower versions.
    I'm not sure I understand what you mean by 'Through manual JE against that bill bumvers (AR Document number) then I need to disable that type of entries.' Do you need to prevent users from posting manual JEs to a BP?
    All the best,
    Kerstin

  • How we Can find out How many Users Logon into the Portal those users Names.

    Hi Friends
    I have one doubt in Portal,
    How we can find how many Users Logon into the Portal and how we can find that users Names in Portal.
    Regards
    Vijay Kalluri

    Hello Vijay,
    If you are at all interested in a 3rd party application to make your life a bit easier getting stats on your users, you could check out Click Stream by Sweetlets.
    Click Stream uses the Usermanagement (UME) API to get more information about the user, groups, roles, LDAP attributes etc. and offers you the ability to filter this information in nearly any report at the click of a button.
    Click Stream also uses the PCD API to get information about the pages your users are visiting too.
    In the very near future Click Stream will also have iView recording to monitor iViews, telling which iViews have been clicked, etc.
    Here are some reviews on the SAP EcoHub from people who have used it: http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream
    Please just let me know if you have any question or if you are open to test drive Click Stream. We will certainly help as best as we can.
    Good luck.

  • ARE THERE ANY WAYS BY WHICH I CAN FIND THE Appln Servlet Container Memory

    ARE THERE ANY WAYS BY WHICH I CAN FIND THE Appln Servlet Container Memory .

    You can check out Tomcat memory usage using Tomcat Manger
    and clicking server status.
    It gives the information like this
    Free memory: 489.80 MB Total memory: 508.12 MB Max memory: 1016.12 MB
    For specific application stats, i think there are some profilers which u have to search in google.

  • I activated an iTunes gift card, my iPod showed the amount available ($15) and after downloading 2 songs all I had left was $.04.  Any ideas on what happened to my funds or how I can find out where the rest of the money went?

    I activated an iTunes gift card, my iPod showed the amount available ($15) then after downloading 2 songs my balance was $.04.  Any ideas on what happened to the rest of my funds or how I can find out where the rest of my money went?

    - Have youwent to yur iTunes account looked at your puchase history for purchases thant y might have forgotton?
    - Maybe you had an unpaid balance before redeeming the card.
    - Contact iTunes
    Apple - Support - iTunes - Contact Us

  • Is there any way I can find out the service record on this mac ?

    I purchased a used QS from an authorized apple dealer at their after boxing day sales event. This QS is extremely quite compared to my polar express MDD.
    Is there any way I can find out the service record on this mac ?
    Somewhere away back when I heard that by knowing the serial number the details of the service record on the given mac could be found. However in those days I only bought new. These days with mac's inability to run applications that require the for real OS 9 ( not classic ) I have to scour the used market. I have some high end audio midi programmes ( for example emagic, cubase VST score ) that do the job and sometimes better then then the OS X versions.

    Hello,
    You can use System.getProperty("SAPSYSTEMNAME"); in your UDF as specified in this thread.
    Get name of XI System in mapping
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Apr 27, 2011 7:51 AM

  • One day i went to go get on Photoshop Elemnts 13 and it said i had to pay for it all over again or do a 30 day free trial, i also forgot what my serial number is, so is there a way i can find out what my serial number is by signing in to my adobe Id?

    one day i went to go get on Photoshop Elements 13 and it said i had to pay for it all over again or do a 30 day free trial, i also forgot what my serial number is, so is there a way i can find out what my serial number is by signing in to my adobe Id?

    Make an appointment at the genius bar.
    If you went without an appointment, then it would make sense that you could be turned away.

  • How i can find out number of transaction code created in last 6 month

    Dear Friends,
    How i can find out number of transaction code created in last 6 month and last used date for each transaction code.
    System - ECC 5.0
    Plz help.
    Thanks,
    Regards,
    Sachin

    Hi,
    As per your query you can find out the list of t-code not to use in last time details in suim t-code.
    Anil

  • I have lost my Iphone and never activated my Icloud on my phone.  Is there anyway of locating it whereabouts???  Also Who ever has my phone has downloaded find my phone.  Is there anyway Apple can find out the address that was downloaded from??

    I have lost my Iphone and never activated my Icloud on my phone.  Is there anyway of locating it whereabouts???  Also Who ever has my phone has downloaded find my phone.  Is there anyway Apple can find out the address that was downloaded from??

    Unfortuantely, you can only track the phone if you had set up iCloud and enabled Find My iPhone on it before it was lost or stolen.  I don't believe there is anything that Apple can do to locate your phone either.

  • Where I can find out the Offer created by in Oracle SSHR

    Where I can find out the Offer created by in Oracle SSHR. I have to make a report with Vacancy created by and Offer created by.
    I found out the Vacancy Created by.
    From where We can I find out the Offer created by. from the workflow tables or EBS SSHR tables. Please help

    Anil,
    You would want to look at the Database Tables Reference that is part of the SAP Business One SDK Help Center Documentation to assist you with your question.  Specifically look at Marketing Documents and Receipts > A/R Invoice and then at the tables OINV and INV1.
    Hope that helps,
    Eddy

  • How can find out LONG column database?

    Hi,
    in my database ORA-1461 error occured
    01461, 00000, "can bind a LONG value only for insert into a LONG column
    how can find out LONG column in my database ?

    DESCRIBE
    The description for tables, views, types and synonyms contains the following information:
    each column's name
    whether or not null values are allowed (NULL or NOT NULL) for each column
    datatype of columns, for example, CHAR, DATE, LONG, LONGRAW, NUMBER, RAW, ROWID, VARCHAR2 (VARCHAR), or XMLType
    precision of columns (and scale, if any, for a numeric column)
    Extract of the link;
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12019.htm#SQPUG040
    Secondly with reference to the error;
    Do not try to insert LONG datatypes into other types of columns.
    Hope this helps.
    Adith

  • How can I find out what type of data is being sent over one of the phones on my plan?

    I have a few phones under a shared family plan.
    I wanted to know what type of data is being sent over them, wether this is VOIP, Streaming Audio or Video.

    I think the only way you can find out is if you look at the device itself.

  • How we can find out the default value of the initialization parameters

    Hi All,
    How we can find out the default value of the initilization parameters from oracle database.
    Thanks
    Shiju

    Hi,
    you can find currently used parameter values v$parameter and v$parameter2.
    if default values is different real values then you can see alert.log.
    because in alert.log you will see non default values, rests is default.
    Edited by: admin on May 8, 2010 3:41 AM

Maybe you are looking for

  • What Third Party Software to Modify Time Machine Backup Schedule?

    Hello - I was hoping to get some suggestions to what third party tool to use that will allow me to change the timing of backups from the regular hour intervals. As far as I know that cannot be changed in Time Machine and am looking for suggestions of

  • Error message encounter in ODBC 32bit test program

    I am using the Oracle ODBC 32 Bit test program (from Oracle 8i client) to test my ODBC connection. I did this: Press Connect, Choose my desire ODBC connection, a screen pops up asking for service name, user name and password, I filled in the boxes wi

  • Show username and date on results slide

    Hi, Is it possible in captivate that a user can enter the user name and date in the beginning of the project which later can be displayed on results slide

  • AMD64 version of WLS 8.1? (Windows XP 64-bit)

    Considering that MS is now offering an AMD64 version of Windows XP 64-bit for general download - and Weblogic 8.1 is already 64 bit what are the chances of getting a recompile for AMD64 or at least a beta version ? Anyone else want this ?

  • ~id error when signing in?

    I don't understand why can't i sign into adobe when i'm using cc. It says either i'm not connected to the internet or my clock is wrong... help?