Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
How to get event properties from date in fullcalendar 3.1.0

I have this code in the default.aspx:

select: function (e, i) {
                $("[id$=hfCustomerId]").val(i.item.val);
                date = moment(i.item.label, "DD/MM/YYYY HH:mm");
                $("#calendar").fullCalendar('gotoDate', date);
                //$('#updatedialog').dialog('open');

I would like to get title, description etc. of the event to which the date corresponds.

I Have in default.aspx an input box with a button:

 <script type="text/javascript">
        $(function () {
            $("[id$=txtSearch]").autocomplete({
                source: function (request, response) {
                    $.ajax({
                        url: '<%=ResolveUrl("~/Default.aspx/GetEvent") %>',
                    data: "{ 'prefix': '" + request.term + "'}",
                    dataType: "json",
                    type: "POST",
                    contentType: "application/json; charset=utf-8",
                        success: function (data) {                           
                        response($.map(data.d, function (item) {
                            return {
                                label: item.split('|')[0] ,
                                val: item.split('|')[1]                                
                            }                            
                        }))
                        
                       },
                    error: function (response) {
                     //   alert(response.responseText);
                    },
                    failure: function (response) {
                        alert(response.responseText);
                    }
                });
            },
            select: function (e, i) {
                $("[id$=hfCustomerId]").val(i.item.val);
                date = moment(i.item.label, "DD/MM/YYYY HH:mm");
                $("#calendar").fullCalendar('gotoDate', date);
                $('#updatedialog').dialog('open');
               
            },

So I select only one event, and I would like that when the update dialog opens this is filled with title, description, etc

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!