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

  • Home
  • SEARCH
  • 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 7070511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:34:31+00:00 2026-05-28T05:34:31+00:00

Here is my code. when I click on ‘click here’ link the html file

  • 0

Here is my code. when I click on ‘click here’ link the html file is not loading inside the div

<html>
  <head>
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript">
      $(document).ready(function(){
        $("#click").click(function(){
          $("#loadthis").load('timeless_op1.html');
        });
      });
    </script>
  </head>
  <body>
    <div id="loadthis">Load the html file here</div>
    <div id="click">Change Content</div>
  </body>
</html>
  • 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-28T05:34:32+00:00Added an answer on May 28, 2026 at 5:34 am

    Have checked out, here what I’ve got like a reason.

    My test code is:

    <a href="javascript: void(0);" id="activate">Click here to load</a>
    <div id="loaded"></div>
    
    <script type="text/javascript">
        $('a#activate').live('click', function(e) {
            $('div#loaded').load('test.txt');
        });
    </script>
    

    When I placed it out of webroot of my site, it loads in Mozilla, but not loading in Opera and Chrome. I think that browsers doesn’t work with network function if you’re opening local file, or works but different. In any case it works if it’s placed into document root dir of any site. In other words, if you open it in you browser by url: file://localhost/C:/Users/devdRew/Desktop/test.htm, Mozilla works fine, others – not. If you open it like: http:\\somemytestdomain\test.htm, then everything works perfectly.

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

Sidebar

Related Questions

Code is not running on .click when I have this: $(.cancel).click(function() { alert(got here);
Using preview 4 of ASP.NET MVC Code like: <%= Html.CheckBox( myCheckBox, Click Here, True,
Here is my code: $('.adsize_click').click(function () { $(this).closest('span').toggleClass('ad_active'); $('.ads_selected').append($(this).closest('label').html()); }); I have a bunch
Here is my code: $('.button').click(function() { $(this).addClass('clicked'); $('.button').not(this).removeClass('clicked') .addClass('not_clicked'); $('#tool_window,#wrapper').not('#work_area').not('.button').addClass('outside'); }); $('.outside').click(function() { $('.clicked').removeClass('clicked');
Here...The code i have added to filter the anchor link is not working.. And
Got this line of code here but its not working. private void Button_Click(object sender,
Here is the code: $('#sousmenu a').click (function (){ startSlideshow(<?php echo json_encode(glob(photos- .$_GET[folder]. /*.jpg));?>); return
Here is the code for the button click event; Protected Sub CompetenciesButton_Click(ByVal sender As
Here is my spaggeti code $(#table_exams tbody tr).click(function () { window.location.hash=# +$(this).attr(exam_ID); window.location.href=/medilab/prototypes/exams/edit?examId= +
Is this possible? Code: $('#goRightBtn').click(function() { Random code here }; I have a button,

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.