Inside of fullCalendar(), a jQuery plugin, I can get the value of view.visStart. Outside of the function view.visStart is not available. How can I either get view.visStart out (and is this bad because it is Global?) or how do I insert a click function within the plugin call? thanks.
$('#calendar').fullCalendar({
events: "js/events.json"
console.log(view.visStart); //value is returned
});
$('.fc-button-next').click(function() {
console.log(view.visStart); //view is not defined
});