Closed sixtyseven-multimedia closed 9 years ago
Each pair needs its own container:
<div class="datepair">
<input class="time start" /><input class="time end" />
</div>
<div class="datepair">
<input class="time start" /><input class="time end" />
</div>
$('.datepair').datepair();
Your English is very good. Hope this helps!
I have difficulties to get multiple instances of datepair to work. Check this example from a WordPress plugin that I am currently developing:
And I am calling the script(s) like this:
While the first input pair is working like a charm, the second pair does not seem to be affected. Am I missing something?
Hope I could express myself clear enough. Greetings from germany!