How to identify the textbox name if they are generated dynamically

hi
i want to know how to identify the textbox name when they are generated dynamically. the text boxes name may vary.
if u know tell me.
thanx

Try the following Code :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<SCRIPT language="Javascript">
function fnShowTextBoxNames()     {
     var count = document.formHeader.elements.length;
     for(i=0;i<count;i++)     {
          var objType = document.formHeader.elements.type;
          if(objType=="text")     {
               alert("Name Of TEXTBOX NO "+(i+1)+" --> "+document.formHeader.elements[i].name);
</SCRIPT>
<BODY>
<FORM name="formHeader">
<CENTER>
<INPUT TYPE="TEXT" name="box1" value="" >
<br>
<INPUT TYPE="TEXT" name="box2" value="" >
<br>
<INPUT TYPE="TEXT" name="box3" value="" >
<br>
<INPUT TYPE="TEXT" name="box4" value="" >
<br>
<INPUT TYPE="TEXT" name="box5" value="" >
<br><br>
<input type="button" name="btn" value="Show TextBox Names" onClick="javascript:fnShowTextBoxNames();">
</CENTER>
<input type="hidden" name="boxCount" value="5"/>
</FORM>
</BODY>
</HTML>
Hope this suffice ur requirement !

Similar Messages

  • I have a keynote presentation that i built a while ago. How do identify the file names of the video files that are in the presentation?

    I have a keynote presentation that i built a while ago. How do i now identify the file names of the video files that are in the presentation?

    With your presentation open, click on each movie element and read the name in the Metrics Inspector > File Info.

  • How to identify the infosource name for any ods zpxrrm?

    hi all,
    How to identify the info source name for any ods that have created.
    thanxs
    haritha

    Hi Haritha,
                   Check the datasources from which the data is coming to the ODS.Take the technical name of the data source.Check in Infosources Tab.There you can find in which infosources the ODS is present.
    Hope this solves
    Regards
    Karthik
    Assign points if helpful.

  • How to identify the technical names in infoobjects inInfoset

    Hi,
    I want to design the query based ob infoset(SAP BW). Infoobjects shown in the infoset have different technical names.
    There are 4 infoobjects in query designer having same descriptions. How should I identify technical name of infoobjects and differentiate between them?
    Regards,
    Shital

    Hello Sheetal,
    Click on the Technical names  button in query designer, it will be in between context menu and table display.
    Regards,
    Pavan.

  • How to pass the feild names of a select query dynamically?

    Hi
    How can we pass the feilds names in select query dynamically?
    For example in my selection screen i wil be giving the table name, and feilds in that table.....
    those feilds should be taken in my select query...
    instead of
    PARAMETERS : tab_name TYPE ddobjname .
      SELECT *
        FROM (tab_name)
        INTO TABLE <newtab>
       UP TO 25 ROWS.
    parametrs : feild1 like-------
                     feild2----
    i need select feild1 feild2 feild3    FROM (tab_name)
        INTO TABLE <newtab>
       UP TO 25 ROWS.

    by the way, contrary to popular belief there is no performance problem when using
    SELECT * FROM dbtab INTO CORRESPONDING FIELDS OF TABLE itab WHERE ...
    as long as the structure of itab contains only the required fields.
    I ran some benchmarks against this and above construct is maybe 0.1% slower (Oracle 10g) than a
    SELECT f1 f2 f3 f4 ... FROM dbtab INTO TABLE itab WHERE ...
    but is saves you from maintaining a potentially very long field list in your code. So when you need additional fields later on, you just add them to the DDIC structure or type definition and that's it.
    Maybe something you want to factor in here.
    Cheers
    Thomas

  • How to Identify the count , If multiple parameters are passed using Pipe Delimited string

    Hi,
    We are passing Pipe delimited string to the parameter and I want to know how many values we are passing to the parameter.
    Here is the example
    Parameter.Grant: 24|34|54|67
    I am using below expression, but it is not giving the right values. Please let me know if  I am missing anything or is it possible.
    =iif(parameters!Grant.Count>1,"Multiple value selected",parameters!Grant.Value)

    Hi NaveenCR,
    According to your description, you used pipe delimited multi-value parameter in the report, you want to know how many values passed to the parameter. If that is the case, please refer to the following steps:
    In Design view, click Text Box in the Toolbox.
    On the design surface, click and then drag a box to the desired size of the text box.
    Right-click inside of the text box, then click Expression.
    In Expression text box, type the expression like below:
    =iif(split(Parameters! Grant.Value,"|").Length>1," Multiple value selected",Parameters!Grant.Value)
    The following screenshots are for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • How do I change the color of the users name after they sign in?

    I am trying to change the color of the users name after they have signed in on the top right hand corner. When you hove over the login it shows up "Welcome (Users name) Log Out", The "welcome" and "log out" are in white and I know how to change them, but trying to find out how to change the name so it appears a different color is getting the better of me. Please help.

    Hi blackroseuk7,
    You can use firebug to inspect the element to see what div to target and from there you can set the color with CSS.
    Hope this helps!
    Carol - BCGurus.com

  • How to Identify the Type of Font Names in Illustrator

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts or any language. Could you please advice me.
    Thanks,
    Prabudass

    If there is an Illustrator SDKor Illustrator Scripting forum, try
    that. ATM won't really help - it is obsolete and should not be
    installed (breaks things).
    Aandi Inston

  • How can i identify the environment name or database name in the PL/SQL code

    Hi,
    I am using UTL_FILE to genearate the files.,
    My problem is, I have to design the common sql file , which can be executed in 2 diffrent environments ( Say QA & DEV ) , with no parameters. It has to identify the environment and based on the environment , it has to generate the concern files.,
    The only change needs to be incorporated is , file names , which will change based on the environment.,
    can nay one tell me , how can i identify the environment name or database name in the PL/SQL code ??
    Raja

    In this case, USEC_GI_DEV.NA.XXXNET.NET is a TNS alias. That alias exists only on the client machine. There is no way to access that information on the database server.
    You would have to find something in the v$database or v$instance table that uniquely identifies the database (and you may need some help from the DBAs to do this because you need to ensure that the data element you choose is compatible with whatever refresh process(es) are used in your environment).
    Now, if you are writing a stand-alone SQL*Plus script, SQL*Plus, as a client tool, does have access to the TNS alias in later versions. But that is a client-side determination, not a server-side determination.
    Justin

  • How to identify the psa table names in bi 7?

    Hi all,
    How to identify the psa table names in bi 7?  i need to know the psa table name in bi 7?
    as well as i need to check whether any historical data loads is there for psa for a particular period?
    How to filter for a particular data in the psa in bi 7?
    Thanks
    Pooja

    Hi Pooja,
    A)How to identify the psa table names in bi 7? i need to know the psa table name in bi 7?
    Double click on the PSA and CTRLSHIFTF5 --->in PSA properties -->PSA table ..u can find the name here ....
    B)as well as i need to check whether any historical data loads is there for psa for a particular period?
    usually as SAP best practise we will not keep data in PSA for not more than 30 days or at the amx 60 days..you may not find historical data here..however to find the oldest data -->Right Click >Manage>Give some old date ,say 01.01.2005 in the Request newer than ...and Refresh.....
    Other way is to find out in the Data provider i.e in the Cube or DSO ...
    How to filter for a particular data in the psa in bi 7?
    a)Do not map it
    b)in the DTP...Filter it ....i.e from PSA -->CUBE/DSO....
    c)Or write a routine also in start routine ...
    Rgds
    SVU123

  • I bought an album and not all the songs came up listed under the artist name.  They came up as separate songs and not as part of an album.  How do I fix this?

    I bought an album and not all the songs came up listed under the artist name.  They came up as separate songs and not as part of an album.  How do I fix this?

    Hello pjmelli921,
    You have to locate the album in itunes. Highlight each track, hold the ctrl button and left click each one.
    Do a right-click on the highlighted blue, select get info, say yes to editing multiple tracks.
    Hit the options tab, change "part of a compliation" to yes, select ok on the bottom right.
    Resync ipod. This should fix it on your ipod after the resync.
    Hope this helps.
    ~Julian

  • HT1529 I have multiple users on my Mac and I was wondering how you tell the system to retain all the user names so they don't have to enter their email addresses every time ???

    I have multiple users on my Mac and I was wondering how you tell the system to retain all the user names so they don't have to enter their email addresses every time ???

    Email addresses into what?
    Each user should have their own account and password to log in.  Each is independent of the other.  So for Mail each has their own Mail account if they set one up in Mail. 
    That's the way it should be set up.  Are you using a single account and allowing multiple users to use that one single account?  If so then in Mail at least you could set up individual mail accounts.  But everything else in the system is shared.

  • How to identify the type of Fonts

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts. Could you please advice me.
    Thanks,
    Prabudass

    The code below will prompt the user with the type face of a single text-frame.
    shastafir
    // 5/4/2009
    // Open a new document and create a single text box
    // with some type in it.
    // Get access to the active layer
    var aiDocument = app.activeDocument;
    var aiLayer = aiDocument.activeLayer;
    // Get access to the type-frame's font
    var textBox = aiLayer.textFrames[0];
    var theFont =
    textBox.textRange.characterAttributes.textFont;
    // Alert user with the name of the font
    alert(theFont.name);

  • How to identify the t-codes like s_alr-* t-codes

    Hi, Please advise how to identify the s_alr t-codes in the r/3 system. for example, we can set the config of same node with op40 t-code as well as with S_ALR_87006275 t-code. how to know the s_alr_*** t-codes in sap system. thanks for your support.

    Raju,
    Although OP40 and S_ALR_87006275 may look the same to you, they are not the same.
    You can review information about transactions using the repository (SE84 > other objects > transactions) to find out more about them.  As mentioned by the other gurus, you can also do a table lookup to find out the transaction names that exist.
    Don't expect any kind of consistency in the way SAP deals with transactions assigned to configuration nodes.   There isn't any.  Not all IMG nodes will have s* transactions assigned to them.  Actually, many nodes have no transactions assigned to them.
    Best Regards,
    DB49

  • Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard

    MDT 2012 U1
    Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
    I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
    We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
    The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
    But since we use the fields they must still  be fuctional just not seen.
    Thanks.....
    If this post is helpful please click "Mark for answer", thanks! Kind regards

    You shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
    Example:
    [Settings]
    Priority=Default
    Properties=MyCustomProperty
    [Default]
    OSInstall=Y
    SkipCapture=NO
    SkipAdminPassword=YES
    UserID=<MyUserID>
    UserPassword=<MyPassword>
    UserDomain=<MyDomain.com>
    SkipProductKey=NO
    SkipComputerBackup=YES
    SkipBitLocker=NO
    -Nick O.
    Nick,
    SkipAdminPassword=YES is for:
    You can skip the Administrator Password wizard page by using this property in the
    customsettings.ini.
    I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
    DomainAdminPassword=xxxxx
    DomainAdminDomain=xxxxxx
    JoinDomain=xxxxxx
    If this post is helpful please click "Mark for answer", thanks! Kind regards

Maybe you are looking for

  • Last two characters are cut out when entering data in a text form

    Whenever I try leaving a comment on a page, it always cuts out the last two characters, and replaces them with "Pr". This happens across multiple browsers, (Chrome, FF, and Camino), but not Safari. In addition, if a '<' character was put in, it'll cu

  • I can no longer publish my ICal work calendar

    Just updated to the new calendar in mobile me but it deleted all previous calendars that were on my iCal app on desktop computer.  Fixed that with apple's help, but can no longer publish new calendar updates that are created on home desk top computer

  • NACHA payment format

    Has anyone customized the NACHA Payment program in 11.5.10.2? Our bank requires carriage returns after each record type rather than one long record which is why we have to do this? Can it be done with BI Publisher or do we have to modify the Oracle r

  • Fragmentation in Undo TBS

    Hi all experts, I want to know if found fragmentation in undo tablespace. Is it recommaned to treat it the same way as usual permanent non system fragmented TBSs. i.e. do fragmentation I wonder if temp/undo tbs needs to be defragmented. Looking for y

  • User Exit for Purchase Requisition Number Range

    Dear Experts, I searched on sdn, i got M06B0003 &M06B0004 this 2 user exit for PR Number range. I have activated both User exits but while creating PR is not getting effect of that user exit. I have checked by putting Break-point in respective user e