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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:52:23+00:00 2026-05-31T18:52:23+00:00

I added a new client-side JS lib (typeAheadDemo.js) to my theme recently, but the

  • 0

I added a new client-side JS lib (typeAheadDemo.js) to my theme recently, but the lib is not loading and so the functions in the lib are not available in the application.
It works with other elements ( CSS, JS from URL ). So I wonder, if there is any known issue with loading client-side JS in a theme.
I cleared the browser cache and also restarted the server. But the lib is not loaded. If I add the lib as a resource to the page, everything is working fine. I also tried with and without the leading slash.

enter image description here

  • 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-31T18:52:24+00:00Added an answer on May 31, 2026 at 6:52 pm

    This is the way I reference javascript located in the “Code\Script Libraries”

    <resource>
            <content-type>application/x-javascript</content-type>
            <href>typeAheadDemo.js</href>
    </resource>
    

    Hope it helps

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

Sidebar

Related Questions

I added a new file F1 and made changes to another file F2 but
I've accidentally added a new filter to my GAE application. The status of the
We recently added a new TeamCity build agent. Because it doesn't have ASP.NET MVC
I have used the SL business application template and added a new blank, empty
This client side script is being added to buttons in our existing codebase. It
I got server-client application. On the client side, I am using this I/O stream
I am working on an MVC3 application. My client side ViewModel contains a SQL
The new row can be added to the associated server-side collection on an action
I'm creating an application which layout needs to be fully configurable on client-side. It
I removed my .gitconfig by accident. I added new identies by git add [file]

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.