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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:38:16+00:00 2026-05-21T21:38:16+00:00

I have a simple ID I want to fadeOut with jQuery after a button.

  • 0

I have a simple ID I want to fadeOut with jQuery after a button. However, when clicking on the respected button it doesn’t work and nothing happens. Heres how I get JS file from different location like this:

<script src="http://myflashpics.com/v2/jQuery.js"></script>
<script src="http://myflashpics.com/v2/actions.js"></script>

Here’s my action in my actions.js file:

$(document).ready(function() {

$(function() {

  $(".profileLink").click(function() {
    $("#right_bar_content").fadeOut("slow");
  });

});

});

Here’s some other HTML assosiated with it:

<img src="http://myflashpics.com/get_image.php?short_string=avqc&size=thumbnail" class="profileLink" />
<div id="right_bar_wrapper" id="right_bar_content">content here</div>

Please help!
Coulton

  • 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-21T21:38:16+00:00Added an answer on May 21, 2026 at 9:38 pm

    First of all, you shouldn’t have two separate ids for your div. Get rid of the right_bar_wrapper id and merge the CSS for the two ids.

    Second, $( is just short-hand for $(document).ready; it shouldn’t be nested. Remove one or the other.

    $(document).ready(function() {
        $(".profileLink").click(function() {
            $("#right_bar_content").fadeOut("slow");
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple animation based on jQuery fadeIn and fadeOut - it just
I have some very simple jquery as listed below: $(.block).hover(function(){ $(.drag).stop().fadeIn(1000); }, function(){ $(.drag).stop().fadeOut(1000);
I have simple form. I want to use jquery to prevent form submit. $(document).ready(function()
I have a simple dropdown and want to get the specific value of an
Windows 7 Firefox 10.0.1 I have simple setTimeout logic that I want to test
I want to have a simple HTML file act as a bootstrap for a
I have a simple TextView and I want it to automatically define the font
I have a simple scenario where i want to output only json to the
I have a simple swipe gesture that I want to be very low priority.
I have a simple jsp/servlet application and I want to add AJAX feature to

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.