jonthornton / Datepair.js

A javascript plugin for intelligently selecting date and time ranges, inspired by Google Calendar.
https://www.jonthornton.com/Datepair.js
358 stars 87 forks source link

jquery example with calling refresh method #50

Closed niconil closed 8 years ago

niconil commented 8 years ago

i spend some time to find how to call the refresh method when i use jquery

$('#myselector').datepair( 'refresh' );

i try a lot .refresh() with no success i love to see an example showing the correct way to call refresh method on the jquery example.

jonthornton commented 8 years ago

Can you post a jsFiddle that demonstrates your problem?