Why does not this work? $("#txt_documento").tooltip('open');
I need to validate a form when data is wrong and so to show the errors with tooltips , I saw the example in the api documentation but does not show how to do that. Thanks
Hello, I have a problem with the autocomplete, I need to load 5000 records(options) from my database or more but when the textfield is loading my computer take a lot of time to load the options, may be my way to do it is not efficient, here is my source, and please what is the best way?
Hello, my problem is that I need disabling some days and changing color in other days, I have done the second until now, but I don´t know how to do the two things at the same time.
Here is my source code:
$(document).ready(function(){ var events; function disabledays(){ var ds=['2012-11-13','2012-11-14']; return ds; }
$( "#eventos" ).datepicker({dateFormat:'yy-mm-dd', beforeShowDay: function(date) { var current = $.datepicker.formatDate('yy-mm-dd', date); return $.inArray(current, ev) == -1 ? disabledays : [true, 'busy_days', 'ui-state-highlight'];// with this line the color is changed } }); });
hello, what I need is to change color some days in the datepicker and disable weekends, until now I have done the first, but I don´t know how to disable the weekens, because I can do the tho thinhs inside the fucntion before show day.
$( "#event" ).datepicker({ beforeShowDay: function(date) { var current = $.datepicker.formatDate('yy-mm-dd', date); return $.inArray(current, ev) == -1 ? [true, ''] : [true, 'oc_days', 'ui-state-highlight']; }, onSelect: function(dateText,inst){ f=dateText; alert(f); }, }); //beforeShowDay: $.datepicker.noWeekends-> this is the line that I don´t know how to use , });