Results 1 to 2 of 2

Thread: Can't link external jquery document to html document. PLEASE HELP!

  1. #1
    Join Date
    Sep 2016
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can't link external jquery document to html document. PLEASE HELP!

    Hello everyone,
    I am trying to make a website and I cannot get the my external jquery to link to my html document. Any insight at all as to why this may be occurring would be greatly appreciated. Here is my code in the html document:
    Code:
    <!DOCTYPE html>
    <html lang="en">
       <head>
          <title>Title</title>
          <link rel="stylesheet" type="text/css" href="G-CodeNavbar.css"/>
          <script src="jquery.js"></script>
          <script src="HTMLjquery.js"></script>
       </head>
    With jquery.js being the jquery document downloaded from jquery.com, and HTMLjquery.js being my external jquery coding. I have the html, jquery, and jquery coding docents all saved in the same local folder. I am writing the code in Quoda text editor and viewing it on chrome. Thanks in advance for your help.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Not a clue unless you have a typo in the name of the script, or have by accident placed it somewhere else than you think you have. Oh one other thing I can think of that's possible - How do you know it's not linked? Unless you have verified via the console that the file appears empty or as a 404 not found to the browser, it's possible that there is only an error somewhere that's preventing it form working.

    If you could upload this to a live site and still have the problem, we could likely pinpoint the issue if you give us a link to the page.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Replies: 1
    Last Post: 05-04-2010, 11:18 AM
  2. Manipulating HTML elements in document.title
    By starlon in forum JavaScript
    Replies: 4
    Last Post: 04-04-2009, 09:09 PM
  3. Drop-down Document Viewer (internal document)
    By Godchaser88 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-24-2008, 04:17 AM
  4. link that opens document in same window
    By marsshutters in forum Looking for such a script or service
    Replies: 4
    Last Post: 05-02-2007, 03:55 PM
  5. How to achieve document-in-document for cross browsers
    By 14kblaqwmn in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 05-08-2005, 02:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •