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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:31:45+00:00 2026-06-08T08:31:45+00:00

Problem: Display jquery flot graph in dialog box I have a page which displays

  • 0

Problem: Display jquery flot graph in dialog box

I have a page which displays a horizontal bar graph using flot and this is interactive.
When i click on any of the bars, it executes getJSON and with the variables passed, plots another graph in an external php page.
I’m trying to get the graph drawn in the external php page displayed in the jquery dialog box.

Ive been looking everywhere but i’m unable to figure out a solution. Any help is appreciated.

    $.getJSON("page2.php?"+data, function(mdata) {
        $('<div></div>').html(result).dialog({ 
        autoOpen: false, 
        modal: true, 
        title: 'Page Hits - Monthly', 
        width: 450, height: 300 
    }).dialog('open'); 

page 2 is where the graph is drawn and i want to display the graph in the current page inside a dialog box.

  • 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-08T08:31:48+00:00Added an answer on June 8, 2026 at 8:31 am

    maybe try $.get instead of $.getJSON

    $.get('page2.php?'+data, function(response){
      $('<div></div>').html(response).dialog({ 
        autoOpen: true, 
        modal: true, 
        title: 'Page Hits - Monthly', 
        width: 450, height: 300 
      });
    }); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with this jquery script. toggle:function() { if(this.opened){ $(slideToBuyBottomBtnClosed).setStyle(display,block); $(slideToBuyBottomBtnOpen).setStyle(display,none); $(sildeToBuyContent).setStyle(overflow,hidden);
I have a simple problem using Jquery. I want to display detailed information under
I have a problem with the jquery-ui dialog box . The problem is that
I have this problem having to display my jasper report on my grails application.
I am using jQuery/FLOT to draw a graph, I would like for the user
I'm using jQuery's animate function like this: var css1 = { display: block, marginTop:
I'm creating a small web page using jquery-ui-1.8 which is having a frameset and
I'm having a problem. I'm using jquery.lightbox-0.5 to display images and everything works fine
I have setup a jQuery UI modal dialog to display when a user clicks
I am using jQuery-UI dialog in modal modal mode to display several Edit forms

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.