jQuery - how to get the id of the item in a table

Hi all

I have a following problem:

I have LOV in my tabular presentation. I created a dynamic action when the user clicks on the button "link arrow" of LOV.

jQuery selector:
td[headers='PLANTCODE'] a
Now, I would get a LOV element id for example f09_0001. But due to the lack of knowledge of jQuery, I do not know how to do it. Code below does not work: /.
alert(jQuery(this.triggeringElement).attr('id'));
Could someone help me?

Thanks in advance!

Jiri

Jiri N. says:
Hi all

I have a following problem:

I have LOV in my tabular presentation. I created a dynamic action when the user clicks on the button "link arrow" of LOV.

jQuery selector:

td[headers='PLANTCODE'] a

Now, I would get a LOV element id for example f09_0001. But due to the lack of knowledge of jQuery, I do not know how to do it. Code below does not work: /.

alert(jQuery(this.triggeringElement).attr('id'));

Could someone help me?

Thanks in advance!

Jiri

Hello

How your code does not work?
Error messages?
What is your version of the APEX?

Your code, try alert anchor tag ID that you use as a jQuery selector.
Try

alert( $(this.triggeringElement).prev("input").attr('id') );

Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Tags: Database

Similar Questions

  • How to get the title of a table with FDK?

    How to get the title of a table with ad FDK C++?

    I did people. I get objects table paragraph and later the textual elements for each of them.

  • How to get the items on a loop at the same time during the execution of the loop for

    Hello

    I am a student. I would like to know how to get the outside loop counter values For in parallel so that the loop runs rather than obtaining the value finally outside the loop for future prospects for the answers.

    Thank you

    Frederick

    You already said yes, and you have said some of the different ways (registrants, locals, reference, queue, etc.). Since the information was provided to your request, the thread can be considered closed? If you want details about how to implement something, you must provide the details on what you are doing.

  • How to get the use of database tables/columns in the table of edge/analysis?


    Hi all

    Anyone has an idea on how to get the tables in DB/colomns usaged in edge/analysis table in OBIEE 11 G?

    Thanks in advance!

    Anne

    You can try to generate a report of Catalog Manager for analysis / SA want to create the line and your RPD you can go to utilities > documentation of the repository and get the domain you want to and get all the mappings in Excel format.

    I hope this helps.

    SVS

  • How to get the script to a table or view in SQL Developer?

    Dear friends/expert,

    Could you tell me how to get the script from a view or a table easily in SQL Developer as pressing F4 in TOAD?

    I found that I can press SHIFT + F4 to view in SQL Developer and get the script of the view in the Details tab. But how to move the script to the SQL worksheet to change? It is very easy to do in TOAD.

    And I have not found a way to get the script for a table up to now. Is it possible to do?

    Thanks in advance.

    Best regards
    Ning

    There are people a lot better out there to answer on this point than I am - but here's how I do it.

    I'm just in the browser/browser for interest table, choose the script on the right side tab (which shows all the SQL for the table) and then cut and paste what I want or need in my editor window.

  • How to get the ID within a table?

    Hello
    Suppose that a table has first ID column that stores the unique ID in this format: P000001, P000002, P000003... and so on.
    How can I get the next value via query? After obtaining this insert query ID will be applied.

    Just use an Oracle sequence and consult nextval.
    You can apply the format as follows:

    SQL> create sequence my_seq;
    
    Sequence created.
    
    SQL> select 'P'||to_char(my_seq.nextval, 'fm000000') new_id from dual;
    
    NEW_ID
    --------
    P000001
    
    SQL> select 'P'||to_char(my_seq.nextval, 'fm000000') new_id from dual connect by level <= 5;
    
    NEW_ID
    --------
    P000002
    P000003
    P000004
    P000005
    P000006
    SQL> 
    
  • How to get the items selected from indesign Document?

    Hi all

    I'm trying to get the objects selected by the user in the indesign document, to which the following code, I wrote, but his does not collect do not.

    LayoutTarget InterfacePtr < ILayoutTarget > (myContext, UseDefaultIID());

    if (layoutTarget == nil)

    {

    () CAlert::ErrorAlert

    "layouttarget sucks" );

    breaking ;

    }

    UIDList itemList = layoutTarget-> GetUIDList (kStripStandoffs);

    where mycontext is IActiveContext and after getting the itemlist (all managers of related texts).

    How to perceive the limits of the textframe? (TopLeft, TopRight, BottomLeft, BottomRight).

    Thanks and greetings

    Sanjeev.k

    You must initialize the ILayoutTarget with a CSB. As

    InterfacePtr iLayoutCSB (iSelectionManager-> QueryConcreteSelectionBoss (kNewLayoutSelectionBoss));

    InterfacePtr layoutTarget (iLayoutCSB, UseDefaultIID());

    HTH.

    Jasmine

  • E4X: How to get the items that contain a string pattern in the name of the node?

    Is there a way to retrieve the children of an XMLList where the name of the node of a child contains a template string?

    For example:

    account <>

    < XblahX / >

    < cow / >

    < YblahY / >

    < / recording >

    How to get items in folder which has a node name that contains the string "blah"?

    var rec: XML =

    ;

    var r: RegExp = / blah /;
    var elems:XMLList = rec.children (). (localName () *.search (r) >-1);
    trace (elems. ToXmlString())

  • How to get the item and block error

    Hello

    How can I get the name of the fault block and Item, in relaxation On Error at the level of the form. My goal is to change the error message based on the error code and the element that triggered the error.

    For example: If the error code is 40508 and the order of the day is: MyBlock1.MyItem3, the message will be "unable to insert record, unique values will be allowed MyItem3 into the MyBlock1".


    Thanks in advance
    Rizly

    FRM-40508 is a mistake that is triggered by a block, not by a point. So, it is right that there is nothing in the SYSTEM. TRIGGER_ITEM. Get an error message 'talking', you will need to use DBMS_ERROR_TEXT and DBMS_ERROR_CODE to check the database error (for example of a single key on your table)

  • How to get the item to the index by the listview in qml programming

    Hi guys.

    I'm sorry my English not good level.

    At the point of selection Android listview to index easylly, I call ListView.selectionPosition (int index)

    But when you use ListView on cascades qml, I think point get in way to the index.

    Hope you help me.

    For a simple DataModel with a single level of items, you can access the item at a specific position with code of God:
    int position = 0
    var MonElement = myDataModel.data ([position])-requires one [of QVariantList]

  • How to get the update since viewcriteria table?

    Hello

    My version of jdev is 11.1.1.2.3

    I created a test to view based on two tables by using a common attribute in both tables,

    I dragged this viewcriteria as datacontrols viewcriteria named perticular instance table.

    My problem is that I have to update my table (upgrade mode)

    can someone help me please...

    Thank you

    As I said before, if you drop a vc as a query with table, the table will be read-only. Drop it as a query and after the query Panel is generated drop the VO of the Victoria Cross was built on table, and then select do not read only to make it editable. Then you will need to make the change in the Panel of the query and set the property resultComponentId to the id of the table that you fell forward. Then you get the Panel request with editable table.

    Timo

  • How to get the second clue high table max and min

    Hello

    I need help to find the second clue to the data table, how can I do?

    Secure with the extract of vi.

    Thank you and best regards,

    Simon

    You forgot to make the comparison to see where the 2nd most high index has declined compared to the highest.

    You only add 1 if the 2nd above comes after the highest.  You added 1 regardless of the position.

  • Anyone know how to get the items 13 installation after the download?

    Downloading files seems to have worked and I can see them in the folder on C: /, however the software is not activated automatically, and Windows 7 does not recognize the file extension.  No idea on how to work around this problem, without going through the download of a second time?

    There should be an executable (.exe) file that accompanies the download you will be using to process the file zipped.

  • How to get the items to scroll behind a menu

    I have a Web site, I've been working on and in the products , the photos are not scroll back, also the entire menu is messed up when downloading Adobe Muse. I tried to send him the pictures and what not at the back but no luck.

    Create a new layer in the layers panel. Highlight the menu, go to the object menu, select move to the layer and select the new layer you created. This ensures that your content will always be under the menu.

    I hope this helps.

    David

    Creative muse

  • How to get the item currently being processed within the State

    Will there be any environment variable that contains the element, as there are some pages and app?

    I would use it in terms of the element. The condition would be coded in a package and called several times through the elements. The problem now is that I need to pass the name of the element in the parameter of the function.

    Any idea?

    It is not available. We hope to provide this in a future release to allow plans for leave to use a code generic, similar to your goals.

    Scott

Maybe you are looking for