krisreddy
Fri, 12 Feb 2016 21:30:11 GMT
remove hidden type
I don't want to show the input -
--- <a href="#" class="open-calendar">Calendar</a> $$(".open-calendar").on("click",function(){ myApp.calendar({ input:this }); });
@plpl thank you!
Not good idea to create/init calendar everytime you click the link. Just: --- var myCal = myApp.calendar({...}); $$(".open-calendar").on("click",function(){ myCal.open(); });
same problem here, still with v1. it's not working with both methods. it works with the <input id=""> mentioned on param input: , but the calendar modal won't showing. it didn't go up. why is that? 6 hours wondering why.
nevermind .. it solved i manage to make a calendar inline and add it a toggleClass to show it up