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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:52:23+00:00 2026-05-25T14:52:23+00:00

I found this article that looked like exactly what I wanted, but I can’t

  • 0

I found this article that looked like exactly what I wanted, but I can’t seem to get it to work at all. Since it is well over a year old, I thought perhaps something may have changed, or that there might be a simpler way to do it by now.

That is to say, I cannot get the method I linked above to work. I copied and pasted exactly, and used <body onLoad="javascript_needed()"> because I wasn’t sure where $(document).ready(function ()... was supposed to go. I am, sadly, quite unfamiliar with Javascript.

  • 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-25T14:52:24+00:00Added an answer on May 25, 2026 at 2:52 pm

    Use something like this;

    <script>
    
      $(document).ready(function(){
        //Code goes in here.
      });
    
    </script>
    

    Don’t forget to load the jQuery library at the same time from http://jquery.com/

    Also, you are going to want to read up on selectors.

    Using $("#myElement") will select elements that have an id of “myElement”.

    Using $(".myElement") will select elements that have a class of “myElement”.

    So;

    <div class="hideMe">Content</div>
    <div class="hideMe">Content</div>
    <div class="hideMe">Content</div>
    <div class="doNotHideMe">Content</div>
    
    <input type="button" class="ClickMe" value="click me"/>
    
    <script>
    
      $(function(){
        $(".ClickMe").click(function(){
          $(".hideMe").hide(250);
        });
      });
    
    </script>
    

    edit

    If you want to link to the jquery library online then use;

    <script src="http://code.jquery.com/jquery-1.6.1.min.js" type="text/javascript"></script>
    

    If you download the library and insert the js file into your project then use;

    <script src="/yourPathToTheLibrary/jquery-1.6.1.min.js" type="text/javascript"></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently found an article online that told me about this: RewriteRule ^mock-up/([^/]+)/([^/]+) /mock-up/index.php?page=$1&section=$2
I've found this MSDN article that explains how to monitor processes and services with
I've found an article on this subject by a Microsoft employee, but has anyone
I'm looking for a way to get text-shadow that looks like css3 text-shadow, but
I have found a number of articles such as this one that talk about
I found this article on how to manipulate the rendering sequence of asp.net controls.:
I found this on net in google search and see article here: http://www.thatcssguy.com/limit-your-divs/ See
Found this: Sub SurroundWithAppendTag() DTE.ActiveDocument.Selection.Text = .Append( + DTE.ActiveDocument.Selection.Text + ) End Sub But
found this regex: insert every 10 characters: $text = preg_replace(|(.{10})|u, \${1}. , $text); can
Found this question that explained a way to communicate between layers. However there is

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.