Error:Object [object Object] has no method 'msdropdown' <p>I am new to jQuery if somebody could tell me what i should do to get rid of this error?</p> <pre><code>$(document).ready(function () { debugger; $.ajax({ type: 'POST', url: rootUrl + 'SchedulingProfile/GetVisitTypes', contentType: "application/json; charset=utf-8", dataType: "json", success: function (data) { var markup = ''; for (var x = 0; x &lt; data.length; x++) { markup += "&lt;option value='" + data[x].Id + "' title='../images/trans.png' label='background-color:#" + data[x].VisitTypeColor + "'&gt;" + data[x].VisitTypeName + "&lt;/option&gt;"; } $('#ddlAnnualVisitType').html(markup).show(); try { oHandler = $(".mydds").msDropDown().data("dd"); //oHandler.visible(true); $("#ver").html($.msDropDown.version); } catch (e) { alert("Error: " + e.message); } } }); }); </code></pre> <p>Error:Object [object Object] has no method <code>'msdropdown'</code></p>