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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:40:46+00:00 2026-05-29T12:40:46+00:00

This is the deal, i’m importing some php files, one of the files has

  • 0

This is the deal, i’m importing some php files, one of the files has a slider, this slider requires .js files.

But when i make the ajax call, the file is imported but the js files aren’t. Is this supposed to be like this?

I tried this:

var script = document.createElement('script');
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js';
script.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(script);


window.onload=function(){


$(".cs_article").append('<p>Tdkasdlasdlkamsdklasmdasdaest</p>');

$.getScript('js/jquery.ennui.contentslider.js');

$.getScript('js/jquery.easing.1.3.js');

};

Kinda works, well, the append works on the DOM even with it being already loaded, but i can’t get the scripts to run…

I’ve done my homework, searched on google, and found several ways of importing the scripts, but all end up with the same result…

  • 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-29T12:40:47+00:00Added an answer on May 29, 2026 at 12:40 pm

    this works
    https://github.com/chriso/load.js

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

Sidebar

Related Questions

Some say I can use ScrollIntoView method to deal with this issue, but ScrollIntoView
Version Dependent Some of the answers to this question deal with older versions of
I've seen the post that deal with this issue but I still can't solve
This is not a big deal, but is there any way in F# to
This isn't that big of a deal but I was wondering if it can
Not sure if this is a big deal. But wondering why when the site
I want to have URLs like this: some-company-name-deal-id-6.htm So the rewrite rule should ignore
Something like this (yes, this doesn't deal with some edge cases - that's not
basically i have this structure: Deal has and belongs to many Channels Deal has
Please deal with this trivial question. I am getting some URLs like SOME_DOMAIN?q\x3dnintendo+mathe\x26um\x3d1\x26ie\x3dUTF-8\x26tbm\x3dshop\x26cid\x3d8123694338777545283\x26sa\x3dX\x26ei\x3dL8cjUJmHO8L30gGa1ICgCw\x26ved\x3d0CI4BEIIIMAk which

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.