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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:50:39+00:00 2026-05-27T13:50:39+00:00

I use JSON to load Full Calendar and include a description for each event

  • 0

I use JSON to load Full Calendar and include a description for each event in a custom parameter. I want to use jQuery dialog box on eventClick function but don’t know how to specify it. Here is what I’m trying to do:

eventClick: function(calEvent, jsEvent, view) {

        $("#cal_event").dialog({
            title: calEvent.title,
            content: calEvent.description
        });
}

Is there an Object to use where I have indicated “content”? If not, how do I get the calEvent.description into the dialog box?

Thanks for any help you can offer.

  • 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-27T13:50:40+00:00Added an answer on May 27, 2026 at 1:50 pm

    Thought I’d post how I ended up doing this to help others reading this post.

    I used the following:

    $(document).ready(function() {
        $('#calendar').fullCalendar({
            theme: "true",
            aspectRatio: 1.8,
            weekMode: 'liquid',
            header: {
                left: "",
                center: "prev title next",
                right: ""
            },
            buttonIcons:{
                prev: "triangle-1-w",
                next: "triangle-1-e"
            },
            eventSources: [
                {
                    url: 'file1.php',  // Event Source One //
                    type: 'POST',
                    error: function() {
                        alert('there was an error while fetching events!');
                    },
                    color: '#006600',
                    textColor: 'white'
                },
                {
                    url: 'file2.php',  // Event Source Two //
                    type: 'POST',
                    error: function() {
                        alert('there was an error while fetching events!');
                    },
                    borderColor: '#006600',
                    color: 'white',
                    textColor: '#333333'
                }
            ],
            eventClick: function(calEvent, jsEvent, view) {
                $("#dialog_frame").css("visibility", "visible");
                $("#dialog_frame").draggable("enable");
                $(".dialog_content").html(calEvent.description);
                $(".dialog_title").html(calEvent.title);         
            }   
        })
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

jQuery has the $.getJSON() function that I use to load json files from other
So I am trying to use FullCalendar and jQuery UI dialog box. And i'm
I have some json files with 500MB. If I use the "trivial" json.load() to
I use json data with jquery... I have filepaths in json and i am
I usually use JSON with jQuery to just return a string with html. However,
On a particular page, I use json to load a bit of html code
How you should save/load settings in an app when you want to use the
I'm trying to use Sencha Touch 2 to load a local json file into
I am writing a model factory, for which I use JSON to load up
I want to load a JSON file from my own server containing an array

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.