jQuery – append(), remove(), empty()
Insert, remove or clean specified content of the selected elements.
Insert, remove or clean specified content of the selected elements.
jQuery UI Dialog: cannot call methods on dialog prior to initialization
Enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
$(inputId).on(„click“, function () { alert(„Pouze pro čtení.“); });
Link https://trentrichardson.com/examples/timepicker/ Example <link rel=“stylesheet“ href=“assets/jquery-ui/jquery-ui.min.css“/> <link rel=“stylesheet“ href=“assets/css/jquery-ui-timepicker-addon.min.css“/> <script src=“assets/js/jquery.min.js“></script> <script src=“assets/jquery-ui/jquery-ui.min.js“></script> <script src=“assets/js/jquery-ui-timepicker-addon.min.js“></script> <form id=“test“> <input type=“text“ id=“datum“ name=“datum“> </form> <script> $(function () { $.datepicker.regional[‚cs‘] = { closeText: ‚Zavřít‘, prevText: ‚Předchozí‘, nextText: ‚Další‘, currentText: ‚Dnes’, monthNames: [‚Leden‘, ‚Únor‘,…
function setValueZmenaStavu(stav) { var inputId = „#frm-ukolFormular-typ_stavu_id“; var inputIdSelected = inputId + “ option[value='“ + stav + „‚]“; $(inputIdSelected).prop(„selected“, true); $(inputId).attr(„disabled“, true); }
$(document).ready(function(){ $(„#myModal“).on(‚shown.bs.modal‘, function(){ $(this).find(‚#myInputName‘).focus(); }); });