The code below displays a Google map and search results when you enter an address and hit the submit button. I\'ve been playing with it to try and force the page to complet
You can refresh the events after adding new ones by applying the following code: -Release the Events -set Event Source -Re-render Events
$('#calendar').fullCalendar('removeEvents');
$('#calendar').fullCalendar('addEventSource', YoureventSource);
$('#calendar').fullCalendar('rerenderEvents' );
That will solve the problem
Or better
window.location.assign("relative or absolute address");
that tends to work best across all browsers and mobile
You don't need jQuery to do this. Embrace the power of JavaScript.
window.location.reload()
Replace that line with:
$("#someElement").click(function() {
window.location.href = window.location.href;
});
or:
$("#someElement").click(function() {
window.location.reload();
});
Replace with:
$('#something').click(function() {
location.reload();
});