Lucas_Santos Lucas_Santos - 1 year ago 126
jQuery Question

How can I call a multidatepicker jquery

I'm using

MultiDatesPicker v1.6.1 for jQuery UI
in my project, but I got a error.

I do my
<input type='text'>

icones = "<input type='text' id='datacurso_" + drv["Usuario_Id"].ToString() + "' onclick='javascript:chamaData(' />";


<input id="datacurso_3636" onclick="javascript:chamaData(" type="text"/>

and in my
I call my function called
passing the id.

function chamaData(id) {
$("#" + id).multiDatesPicker({ maxPicks: 2 });

but I got an error when I click in my
<input type='text'>


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

Answer Source

I also face an error on my project but it looks like a conflict. Check this - it's example with minimal number of libraries

In my case it was a conflict with jquery.tablesorter.js

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download