jQuery .sortable is not a function [duplicate]

I had the same issue when a page using the sortable() function was required by a main php page. Adding the following code within the head of the main page wasn’t sufficient. Adding it also at the beginning of the required page (inside the body in my case) fixed everything. <script src=”https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js”></script>

TypeError: $(…).autocomplete is not a function

you missed jquery ui library. Use CDN of Jquery UI or if you want it locally then download the file from Jquery Ui <link href=”http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css” rel=”Stylesheet”> <script src=”YourJquery source path”></script> <script src=”http://code.jquery.com/ui/1.10.2/jquery-ui.js” ></script>

Changing minDate and maxDate on the fly using jQuery DatePicker

You have a couple of options… 1) You need to call the destroy() method not remove() so… $(‘#date’).datepicker(‘destroy’); Then call your method to recreate the datepicker object. 2) You can update the property of the existing object via $(‘#date’).datepicker(‘option’, ‘minDate’, new Date(startDate)); $(‘#date’).datepicker(‘option’, ‘maxDate’, new Date(endDate)); or… $(‘#date’).datepicker(‘option’, { minDate: new Date(startDate), maxDate: new Date(endDate) … Read more

jQuery UI styled text input box

There’s nothing to stop you from doing $(“input”).button()… I like this: $(‘input:text, input:password’) .button() .css({ ‘font’ : ‘inherit’, ‘color’ : ‘inherit’, ‘text-align’ : ‘left’, ‘outline’ : ‘none’, ‘cursor’ : ‘text’ }); A fuller example.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)