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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:28:46+00:00 2026-05-27T18:28:46+00:00

I am invoking an ajax call from jquery like this: $.ajax({ type: ‘GET’, url:

  • 0

I am invoking an ajax call from jquery like this:

$.ajax({
  type: 'GET',
  url: 'edit.htm',
  success: function(data){
    container.html(data);
  },
});

The data recevied from the ajax call contains script tags that reference other JS files, for ex: angularjs. Wehn I look at firebug I see that the JS files are downloaded but they do not appear in the Script tab one could debug it.

The JS files are downloaded but not executed.

How do I get around this?

The above ajax call and the container element are present in a html file called info.htm.

And edit.htm(the data fetched from the ajax call) has script tags and other html data.

Thanks.
P.S: If it helps: I can see the JS files being downloaded in the firebug ‘Console’ tab, however, I cant see them listed in the firebug ‘Script’ tab.

  • 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-27T18:28:47+00:00Added an answer on May 27, 2026 at 6:28 pm

    try with jQuery.getScript("url") for more details refer this
    It makes ajax call implicitly.

    or try something like :

    $.ajax({
      type: 'GET',
      url: 'edit.htm',
      success: function(data){
        $(data).appendTo(container);
      },
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A few days ago I asked this question about jquery ajax function invoking action
When invoking this helper from another cshtml I get a Null Pointer Exception on
When invoking a query on the data service I get this error message inside
I wanted to see different views / opinions on this. I've got Jquery invoking
I am invoking a asynchronous PageMethod call from the client-side. The backend code is
I was trying to invoke a webservice from phonegap android app using jQuery .ajax
I am invoking camera from my application. i want to remove few menu items
I am invoking a web service function which is reading a users credentials from
What's the correct way to prevent invoking (creating an instance of) a C type
Is there is a library for invoking math symbols/formula(not sure what to call), 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.