0

I am trying to replicate drag and drop functionality using Jquery Fullcalendar plugin from below link -

https://salesforceprojects.quora.com/Implement-full-calendar-drag-and-drop-in-Visualforce-page

I am unable to update the dates as i am getting error at line no 99

Error -

Error: missing ) after argurment list

setEvnt(Indonesian Cyber Freedom :: ~.\,event.start.format(),event.end.format());

I believe here we are trying to pass id to setEvnt. If so how to pass id from vf page to apex class by action function.

Regards

1
  • 1
    Just a note that drag and drop calendar is coming native in lightning, maybe in spring release if I recall correctly.
    – gorav
    Commented Oct 10, 2016 at 14:23

1 Answer 1

0

The "Indonesian Cyber Freedom :: ~.\" seems like random text. From the code, it looks like it should be:

setEvnt(event.id, event.start.format(), event.end.format());

It's probably a copy-paste error in the post.

2
  • If i put a quotes into it and try , it throws an error invalid id - Indonesian Cyber Freedom :: ~.\\. Can you please check how to pass id Commented Oct 10, 2016 at 15:34
  • @Sid I missed that part, apparently (it didn't really make much sense). Try my latest edit.
    – sfdcfox
    Commented Oct 10, 2016 at 17:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .