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

  • Home
  • SEARCH
  • 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 3271196
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:42:22+00:00 2026-05-17T18:42:22+00:00

Hi Friends I am working with a Full Calender application, in that,while i click

  • 0

Hi Friends

I am working with a Full Calender application, in that,while i click in a event it must be redirect to another page and also post the data like event id,event start,event end,user id so on,how can i do that in J Query and Full Calender

  • 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-17T18:42:22+00:00Added an answer on May 17, 2026 at 6:42 pm

    I think you can do something like this :

    $('#calendar').fullCalendar({
      eventClick: function(calEvent, jsEvent, view) {
        window.location = 'page.php?' 
                          + 'id=' + calEvent.id
                          + '&start=' + calEvent.start
                          + '&end=' + calEvent.end
                          + '&user_id=' + calEvent.user_id;
      }
    });
    

    FullCalendar click event

    You can use this method to POST your data :

    function post_to_url(path, params, method) {
      method = method || "post"; // Set method to post by default, if not specified.
    
      // The rest of this code assumes you are not using a library.
      // It can be made less wordy if you use one.
      var form = document.createElement("form");
      form.setAttribute("method", method);
      form.setAttribute("action", path);
    
      for(var key in params) {
        var hiddenField = document.createElement("input");
        hiddenField.setAttribute("type", "hidden");
        hiddenField.setAttribute("name", key);
        hiddenField.setAttribute("value", params[key]);
    
        form.appendChild(hiddenField);
      }
    
      document.body.appendChild(form);    // Not entirely sure if this is necessary
      form.submit();
    }
    

    Took it from here.

    An example how to use it :

    $('#calendar').fullCalendar({
      eventClick: function(calEvent, jsEvent, view) {
        var method = 'POST';
        var path = 'page.php';
        var params = new Array();
        params['event_id'] = calEvent.id;
        params['event_start'] = calEvent.start;
        params['event_end'] = calEvent.end;
        params['event_user_id'] = calEvent.user_id;
        post_to_url(path, params, method);
      ­}
    ­});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an app that's using System.Net.Mail.MailAddress and friends for sending emails. Does
I'm working on writing a kernel, and I have a few friends working with
I'm working on a project with a friend that will utilize Hbase to store
Friends/family/etc ask me what I do and it always causes me pause while I
I talked to a few friends who say that Drupal is amazing, and it
I have a database table that i want to allow my friends to update.
I have successfully wired up a Facebook Connect application and everything is working fine.
I have a small javascript pricing calculation that is not working on a friend's
My friends and I are working on some basic Ruby exercises to get a
I am working on a simple application in which I need send sms programmatically

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.