I’m using MultiDatesPicker v1.6.1 for jQuery UI in my project, but I got a error.
I do my <input type='text'> dynamically
icones = "<input type='text' id='datacurso_" + drv["Usuario_Id"].ToString() + "' onclick='javascript:chamaData(this.id)' />";
RENDERED
<input id="datacurso_3636" onclick="javascript:chamaData(this.id)" type="text"/>
and in my <script> I call my function called chamaData passing the id.
function chamaData(id) {
$("#" + id).multiDatesPicker({ maxPicks: 2 });
}
but I got an error when I click in my <input type='text'>
Error
Microsoft JScript: Conversion from "string" format not allowed on jQuery.multiDatesPicker
Somebody can help me ?
The idea, is when I click in my <input type='text'> the datepicker shows
I also face an error on my project but it looks like a conflict.
Check this http://jsbin.com/ahebuy/1/watch – it’s example with minimal number of libraries
In my case it was a conflict with jquery.tablesorter.js