Category : plugins

First: The Problem First I converted my plugins from config links to bundles using this method: {{ "<!– JS Plugins –> " | safeHTML }} {{ $mapJs := resources.Get "plugins/google-map/map.js"}} {{ $jqueryJs := resources.Get "plugins/jquery/jquery.min.js"}} {{ $magnificJs := resources.Get "plugins/magnific-popup/jquery.magnific-popup.min.js"}} {{ $shuffleJs := resources.Get "plugins/shuffle/shuffle.min.js"}} {{ $slickJs := resources.Get "plugins/slick/slick.min.js"}} {{ $scriptJs := resources.Get "js/script.js"}} ..

Read more

I need validate only one input without use form. How do it with jquery-validation $("#table_aacaunt_llustration").validate({ rules: { table_aacaunt_llustration: "required", message: { table_aacaunt_llustration: "No valid" }, } }); $(‘#sub_tuition_calculate’).click(function () { //$("#table_aacaunt_llustration").valid(); }); <button class="btn btn-primary" id="sub_tuition_calculate" >Minh Họa</button> <input type="text" id="table_aacaunt_llustration" name="table_aacaunt_llustration"class="form-control number" required> Source: Ask Javascript..

Read more

I have datepicker jquery. When I click and select data, need compare day and month today with select day and month. If select datepicker month and day bigger – need count formula. How do all it together? On this time I have anything like this onSelect: function (dateText, inst) { var dt = $.datepicker.parseDate("dd/mm/yy", dateText); ..

Read more