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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:05:05+00:00 2026-06-13T03:05:05+00:00

I used jquery tabs, and by clicking in one tab I loaded page via

  • 0

I used jquery tabs, and by clicking in one tab I loaded page via ajax. I edited the loaded page by javascript and added some html elements (nested list). I tried to load this elements by jquery using load() function in other php page so can I represent these nested list in chart, but it didn’t load any thing. If I tried to load static elements it worked. I tried to load from the main file which contains the tabs and tried the loaded file. it doesn’t work

I hope that my question is clear, and any help I appreciate it.

  • 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-06-13T03:05:07+00:00Added an answer on June 13, 2026 at 3:05 am

    According to the API, you can pass back script tags with the HTML and jQuery will execute the script (see the dataType section.) But, in practice, I’ve found this to not work all the time. I find jQuery is fussy about embedding JavaScript in HTML on ajax calls. You really have to do one or the other, or else handle the javascript on your own using eval statements.

    NOTE: When jQuery does get it right, I believe it is still using eval() calls, which is not efficient.

    The proper approach is to keep your javascript in your javascript files. In your first jQuery .load statement, use onComplete to call the .load…

    $('#mydiv').load('/some/file', {
      onComplete: function() {
        $('#someOtherDiv').load()
      }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've previously used jquery-ui tabs extension to load page fragments via ajax , and
I used jQuery tabs widget in my page with ajax mode, something like <li><a
I have used a jquery UI tabs plugin in my page and in one
I have some html and JQuery that is used to create a page with
I've used jQuery tabs and can't override one thing. #tabs .ui-tabs-nav { height: 2.35em;
I have used jquery tabs for loading data with ajax, but I need to
How can you perform page navigation with Jquery tabs without the ajax events firing?
I'm trying to add a jQuery post to some JavaScript on a web page.
I have 3 tabs in my Page and I used JQuery UI for tabs.
I have used JQuery within my asp.net page. JQuery is working fine. I could

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.