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

Change ajax url #3

Closed
juanjointera5 opened this issue Jun 8, 2014 · 3 comments
Closed

Change ajax url #3

juanjointera5 opened this issue Jun 8, 2014 · 3 comments

Comments

@juanjointera5
Copy link

Hi!

I need to change the ajax url every time a element change. I'm trying to do: rutaAjax = [ create url with other variables ] $("#my-calendar").zabuto_calendar({ [ ... ] ajax: { url: rutaAjax } }); every time, but this don't change the url. The url is the same has the first time the calendar is created. Any idea ?

@zabuto
Copy link
Owner

zabuto commented Oct 19, 2014

The url setting is created onload. The rest is done using clientside javascript and ajax calls... What problem do you want to fix?

@egcerqueira
Copy link

Hi zabuto,

In my case, we have a several professionals and show their calendar for schedule appointments.

So, several parameters are changed, for example, professional id, appointment time, service id and other parameters.

the available appointment time will change if one user get it for other users.

other issue is that i want create just one calendar for all professionals and services updating the information by ajax requests.

Can you help me?

@zabuto
Copy link
Owner

zabuto commented Nov 2, 2017

This repo only contains a simple jQuery plugin. How you use it in a larger application is up to you. You could add extra parameters from your backend to the ajax url used for fetching the json data.
Closing, not in scope.

@zabuto zabuto closed this as completed Nov 2, 2017
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

3 participants