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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:28:34+00:00 2026-06-13T00:28:34+00:00

Okay, so I’m loading this (it’s a contact form) in a div on www.mydomain.com/contact.html

  • 0

Okay, so I’m loading this (it’s a contact form) in a div on http://www.mydomain.com/contact.html

<script type="text/javascript">
     $(document).ready(function() {
     $('#result').load('http://www.mydomain.com/support/contact.php #ticketForm');
      });
</script>

It shows the contact form, but there is a captcha picture that isn’t loading because the path is wrongly set to http://www.mydomain.com/captcha.php (shows when I right-click the captcha “broken file” picture) instead of http://www.mydomain.com/support/captcha.php. Also seems that some of the styling is missing, most likely because of the same problem with a wrong path.

All the files and folders that contact.php needs are located in the http://www.mydomain.com/support directory and not http://www.mydomain.com.

How do I fix this problem without moving all the files? I’m no coder so please explain as much as possible. Thanks.

  • 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-13T00:28:35+00:00Added an answer on June 13, 2026 at 12:28 am

    Try the following, rename the file path accordingly. This will allow the inline execution of the subsequent scripts.

    $(document).ready(function(){
        $.get(  
            'path/to/contact.php', 
            function(responseText){  
                $("#result").html(responseText);  
            }   
        );  
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay, first some background, I can't use any javascript library except YUI for this
Okay suppose I have an array of objects that look like this: obj(from, to)
Okay I know right off the bat this is going to be a stupid
Okay first the code.. <td class=btnSaveBooking> <div class=btnSaveBookingContainder> <div id=save> <span class=btnImage></span><span class=btnsavebookingspan> <input
Okay, I really know this has GOT to be the long way around doing
Okay, this should be really simple, but I have searched all over for the
Okay, so this is the line that's returning null. What am I doing wrong
Okay, this is the case: I got a generic base-class which I need to
Okay, this might be a very silly beginner question, but: I've got an ClassA,
Okay, Now admittedly this sounds like a silly question; But, I actually have a

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.