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 4537128
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:37:54+00:00 2026-05-21T14:37:54+00:00

I have a template in my page <script id=tmplUser type=text/x-jquery-tmpl> <tr> <td>${Name}</td> <td>${Email}</td> <td><input

  • 0

I have a template in my page

<script id="tmplUser" type="text/x-jquery-tmpl">
   <tr>
      <td>${Name}</td>
      <td>${Email}</td> 
      <td><input type='checkbox' /></td>
      <td><img src="images/red_icon.png" name ='removeUser'/>
      </td>                       
   </tr>
</script>

I have written the click event handler for the remove user image button in one model.
In that click event I want the selected email of user. How to get that?

Thanks

  • 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-21T14:37:55+00:00Added an answer on May 21, 2026 at 2:37 pm

    This is how I might approach the issue. Using a delegated click event I find the closest row to the clicked image and get the second table cells text value. You could improve this by adding a class to the email cell just in case you decide to add other columns before the email column.

    $('img[name="removeUser"]').delegate('table', 'click', getEmailAddress);
    
    function getEmailAddress() {
    
      var emailAddress =  $(this).closest('tr').children(':eq(1)').text();
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following template <script id=myTemplate type=text/x-jquery-tmpl> <p>${{html Name}}</p> <p>${Format(Title)}</p> </script> and the
I have the following jQuery script running on my page: <script type=text/javascript charset=utf-8 src={{
I have the following in my page, ready to: <div id=result></div> <script id=some-template type=text/x-handlebars-template>
Suppose I have knockout.js template like this: <script type=text/html id=mytemplate> <label for=inputId>Label for input</label>
I'm currently generating a list using the jQuery tmpl plugin : <script id=mainTemplate type=text/x-jquery-tmpl>
I am displaying the iframe in wordpress page template. In iframe src i have
I have a footer template which has a input and submit for email subscription.
I have two page written in the single page template way. Login.html has <script
I have a multi page template developed in jquery mobile.The problem I am facing
I have a basic layout page template: --- layout: default --- <header class="sidebar"> {{

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.