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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:31:54+00:00 2026-05-12T09:31:54+00:00

I want to add the fadeTo effect to a <tr> tag using jQuery. This

  • 0

I want to add the fadeTo effect to a <tr> tag using jQuery. This should be possible, right? Here’s my code:

if ($) {
    $(document).ready(function() {
        $("tr[id$='_trPendingRequest_Manager']").fadeTo("slow", 0.33);
    });
}

For whatever reason, the effect is not happening.

I decided to do a bit more testing and added a paragraph tag directly above the table containing this <tr>, and I was able to successfully apply the fadeTo effect to the paragraph tag. So, this leads me to think that one cannot apply the fadeTo effect to <tr> tags.

Anyone have a nugget of wisdom they’d not mind sharing with me as to why I can’t get this to work?

EDIT: Here’s the html of the <table> with the <tr> which I am trying to apply the effect to.

<table>
  <tr id="trPendingRequest_Manager" runat="server" style="display: none;" valign="middle">
    <td valign="middle">
      <asp:Image id="imgExc" runat="server" ImageUrl="~/Images/Mail_24x24.png" />
    </td>
    <td>&nbsp;</td>
    <td valign="middle">
      <asp:HyperLink ID="hypPendingRequest" runat="server" NavigateUrl="~/MyManagedRequests.aspx" Font-Bold="true" Font-Size="Medium" Font-Underline="false" ForeColor="Black">You have <asp:Label ID="lblRequestsNum" runat="server"></asp:Label>request(s) pending your action
       </asp:HyperLink>
    </td>
  </tr>
  <tr>... Removing the rest for brevity ... </tr>
</table>
  • 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-12T09:31:54+00:00Added an answer on May 12, 2026 at 9:31 am

    It is working perfectly okay. If this is unique ID then you don’t even need to specify tr or matching selector, simply this will do the work:

    $(document).ready(){function(){
        $("#_trPendingRequestManager").fadeTo('slow','0.33');
    });
    

    EDIT:-

    As I was suspecting the id comes from runat=”server” item. You can use this to speed up things.

    $(document).ready(function(){
        $("#<%=trPendingRequestManager.ClientID %>").fadeTo('slow','0.33');
    });
    

    I think starting _ was making it behave funny. For more on speeding up with using ClientID property read this post by Dave.

    Also remove “display:none” this is the culprit!!!

    just chain it to put opacity to 0 if you don’t want to remove display:none

    $("#<%=trPendingRequestManager.ClientID %>")
     .css('opacity','0').show() //make transparent and show
     .fadeTo('slow','0.33')
    

    I found this here

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

Sidebar

Related Questions

I want add my custom sidebar next right column all page. Please check this
I want add user in ActiveDirectory. I use this code private SPUser CreateUser(string strLoginName,
I want to add a tooltip with dinamic position change. This is js code:
I want to add a class to a body tag with jQuery. For example
I'm using FOSUserBundle to authenticate users from database and now I want add authentication
i want to add image inside a span here's what i tried ( inside
I want to add Emboss effect in my Custom design.I will really appreciate if
I want add a UIToolbar to the keyboard for my UITextField . Here is
I want add to my Windows phone app masked textbox, are there ready-made control
I am working in jQuery script.But a little bit problem i want add the

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.