Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7698799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:19:36+00:00 2026-05-31T22:19:36+00:00

What is the quickest way to obtain the next node of a line using

  • 0

What is the quickest way to obtain the next node of a line using jQuery? Here is the generated markup of a TreeList which is a type of GridView asp.net. I have to have to obtain the lblWorkItemId which is 199. Please consider that this is from a bound control.

<tr id="ctl00_PageContent_rtlRshItems_ctl04__2" class="rtlR rtlRL" style="background-color:Lavender;">

<td align="left" valign="middle" style="width:90px;">
    <div id="ctl00_PageContent_rtlRshItems_ctl04_rcbStatut" class="RadComboBox RadComboBox_Windows7">
        <table class="rcbFocused" style="border-width: 0pt; border-collapse: collapse;" summary="combobox">
            <tbody>
                <tr class="rcbReadOnly">
                    <td class="rcbInputCell rcbInputCellLeft" style="width:100%;">
                        <input id="ctl00_PageContent_rtlRshItems_ctl04_rcbStatut_Input" class="rcbInput" type="text" readonly="readonly" value="Submitted" name="ctl00$PageContent$rtlRshItems$ctl04$rcbStatut" autocomplete="off">
                    </td>
                    <td class="rcbArrowCell rcbArrowCellRight">
                        <a id="ctl00_PageContent_rtlRshItems_ctl04_rcbStatut_Arrow" style="overflow: hidden;display: block;position: relative;outline: none;">select</a>
                    </td>
                </tr>
            </tbody>
        </table>

        <input id="ctl00_PageContent_rtlRshItems_ctl04_rcbStatut_ClientState" type="hidden" name="ctl00_PageContent_rtlRshItems_ctl04_rcbStatut_ClientState" autocomplete="off">
    </div>
</td>

<td class=" rtlCL" style="width:0px;">
    <asp:label id="lblWorkItemId" text="199" visible="false"> </asp:label>
</td>

The following javascript method will be called when the selected value of the combobox will be changed to a certain value:

    function OnClientSelectedIndexChanged(sender, eventArgs) {
        var item = eventArgs.get_item();
        if (item.get_text() == "Refused") {
            var treeList = $find("<%= rtlRshItems.ClientID %>");
            // var workItemId = [...]
            OpenReasonWindow(workItemId);
        }
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:19:37+00:00Added an answer on May 31, 2026 at 10:19 pm

    Using your code template:

        function OnClientSelectedIndexChanged(sender, eventArgs) {
            var item = eventArgs.get_item();
            if (item.get_text() == "Rejetée") {
                var combo = $('input[id*="rcbStatut_Input"]')
                var workItemId = combo.closest('tr.rtlRL').find('[id$="lblWorkItemId"]').attr('text');
                OpenReasonWindow(workItemId);
            }
        }
    

    Note: I would typically apply this sort of handler unobtrusively, not in mark up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Which is the quickest way to check the presence of Struts runtime from a
Looking for the quickest way to calculate a point that lies on a line
What's the quickest way to create concurrent curl requests? I have a app which
Which is the quickest way in Java to sort a list List<MyObject> myObjectList based
Which is the quickest way to view the value of a NSCFString variable in
I am wondering, which is the best and quickest way to get the well
For someone who has been using bash for years, what's the quickest way to
What is the command or the quickest way to output results to console using
What would be the best/quickest way to have a IDE-type setup when I have
What is the quickest way to determine which members of an enum are not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.