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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:57:19+00:00 2026-06-13T09:57:19+00:00

i have a fedora server running apache web server. the server is connected to

  • 0

i have a fedora server running apache web server. the server is connected to a home network. i have a laptop connected to the same network. i can enter the ip address of my server into the browser of my laptop and pull up the index.html file located in the document root directory of the fedora home server. the index.html file contains jquery code. the jquery code only works when i open it locally in my browser (e.g. right click open with firefox), but when i attempt to view the webpage from my laptop the jquery code is not executed.

the code is here below.

<script type="text/javascript" src="jquery-1.8.2.js"></script>
<script>
    $(document).ready(function() {
        $('#form').hide();
        $('input[type=text]').focus(function() {
            $(this).val('');
        });
        $('input[type=password]').focus(function() {
            $(this).val('');
        });
        $('.form').hide();
        $('#log').click(function(){
            $('#form').toggle();
        });
        $('#reg').click(function(){
            $('.form').toggle();
        }); 
    });
</script>
  • 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-06-13T09:57:20+00:00Added an answer on June 13, 2026 at 9:57 am

    You would need the file jquery-1.8.2.js in your root directory, or wherever the file containing the code is (on the server), and the following tags wrapping around the code.

    <script type="text/javascript">
    // code here
    </script>
    

    Open Firebug or similar extensions and go to console to debug any other eventual problem with the code.

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

Sidebar

Related Questions

I have two servers: Fedora running Apache/2.2.14 (old server) CentOs running Apache/2.2.3 (new server)
I have setup svnserve server (1.6.5,plain, without apache) on Fedora. The users, who has
We had a web services server running in python 3.2 (Fedora Core 14 64b)
I am just beginning with Joomla on a linux fedora server (running apache,mysql,php), running
I have a VPS that is running Fedora Core 6, with yum somehow removed
I have an existing large(ish) PHP web app (using Apache and MySQL) which now
I am building a Fedora server (on VirtualBox right now). It is running Fedora
I have a problem in a cloud server Fedora 16 x64. I've installed PostgreSQL
I have a local install of Apache / MySQL and PHP on Fedora Linux.
I have added kerberos authentication to apache hdfs, the namenode is up and running

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.