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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:11:42+00:00 2026-05-14T18:11:42+00:00

This is my HTML: <p class=first>blah blah <a href= class=more>read more</a></p> <div class=read_more> <p>more

  • 0

This is my HTML:

        <p class="first">blah blah <a href="" class="more">read more</a></p>
        <div class="read_more">
            <p>more text</p>
        </div>

And javascript:

$(document).ready(function(){
  $('a.more').click(function(){
    $(this).find('.read_more').slideDown();
    return false;
  });
});

Doesn’t seem to do anything (read_more is set to display: none) any ideas?

  • 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-14T18:11:43+00:00Added an answer on May 14, 2026 at 6:11 pm

    Try this:


    $(document).ready(function(){
    $(‘a.more’).click(function(){
    $(this).parent().next().find(‘.read_more’).slideDown();
    return false;
    });
    });

    Update:

    Here is the demo 🙂

    Code:

    $(document).ready(function(){
      $('a.more').click(function(){
        $(this).parents().find('.read_more').slideDown('slow');
        return false;
      });
    });
    

    You could also do:

    $(document).ready(function(){
      $('a.more').click(function(){
        $('.read_more').slideDown('slow');
        return false;
      });
    });
    

    Or this:

    $(document).ready(function(){
      $('a.more').click(function(){
        $(this).parent().next().slideDown('slow');
        return false;
      });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given this html: <div class=nation> <a href=library.php?type=nation&amp;id=America> <div class=nation-image> <img src=nations/America.png alt=snip /> </div>
HTML: <div class=someclass rel=first>text 1</div> <div class=someclass rel=second>text 2</div></div></div> <div class=info_ly>here is some text</div>
Consider the following code: <html> <head></head> <body> <div id='test' class='blah'> <a href='http://somesite.com/' id='someLink'>click!</a> </div>
Is this html <div class='title centered'>SCE</div> <div class='description'> Magna tristique pulvinar porta montes, scelerisque
I have this HTML code: <div class='com_box'> <div class='com_box_c'> <div class='com_box_info'> <a id='quote'>quote</a> </div>
i have this html menu: <ul id='main'> <li class='active current' id='lighty'> <a href='/'>Lighty</a> <ul>
This is the final output Output http://img2.pict.com/cc/dc/64/3257730/0/20100330041140.png My HTML <li id='$id'>TEXT <ul class='indent'> <li
How can I retrieve only the first class p7 from this HTML element? HTML
I got this html <tr> <td> Main Alliase/Current Alliase: </td> <td><input type=text id=maina class=countchars
I have this xpath expression that does not work //div[child[0]::h4[text()[contains(.,'Dir')]]]/a To parse this html:

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.