Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phonegap-Calendar-Plugin-ios dynamic code #16

Open
kappax opened this issue May 8, 2013 · 0 comments
Open

Phonegap-Calendar-Plugin-ios dynamic code #16

kappax opened this issue May 8, 2013 · 0 comments

Comments

@kappax
Copy link

kappax commented May 8, 2013

Hi all

First, Thanks to Felix for this amazing plugin.

Second I apologize for any mistake I could make (my English is poor) or if you have already tackled this issue before.

Third I'm trying to modify the code in a dynamic way. I mean I try to add arguments to the createMyEvent function:
onclick="createMyEvent("COURSE A","PARIS","ROOM3","2013-05-08 09:30:00","2013-05-08 10:30:00",succCall,errCall);"

But obviously, it does not work.

Here are the adjustments I made

First, I comment the following variables out:
//var title= "My Sample Appt";
//var location = "Los Angeles";
//var notes = "This is a sample note";
//var startDate = "2013-06-16 09:30:00";
//var endDate = "2013-06-16 12:30:00";

Then, I add arguments to the createMyEvent function:
function createMyEvent(title,location,notes,startDate,endDate,succCall,errCall)

Finally, Add arguments to the javascript link:

Add Event

I do not see what is wrong or what I forgot in the modification I made to your code.

Any help might be truly appreciate.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant