Get 20% Discounts! offer in 2 days

How to get the link of a HTML page

Home Support Support Tickets How to get the link of a HTML page

Viewing 1 reply thread
  • Author
    Posts
    • #15043

      Hi all, I’m new to using this plugin. I’m trying to port an HTML/JS/PHP project to WordPress and I’m having difficulties.
      I created two HTML pages with CJT called test1.html and test2.html and I want to load the second one in the first one with this code:

      
      <!DOCTYPE html>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
      <script>
          $(document).ready(function() {
              $("#cntr_debug").load("test2.html");
          });
      </script>
      <div id="cntr_test">Hi</div>
      <div id="cntr_debug"></div>

      The problem is that I don’t know how to reference the second page using CJT because it can’t load test2.html
      Can you help me? Thanks in advance.

    • #15190
      Damian Baker
      Participant

      Hi there,

      I am real sorry about the delay in replying, it seems we missed this ticket unfortunately.
      Did you manage to get this working? Can you email us directly, so we can take a look at what you have done.

      Thanks,
      CJT Team

Viewing 1 reply thread
  • You must be logged in to reply to this topic.