Latest Posts:

How To Get the Selected Checkboxes within a class in Jquery?

February 17, 2019 3:16 pm

#option-1:: $(‘.tbl_prop_checkbox .prop_checkbox:checked’).each(function(){ var dis_service = $(this); console.log(dis_service); }); #option-2:: $.each($(“.tbl_prop_checkbox input.prop_checkbox:checked”), function(){ var dis_service = $(this); console.log(dis_service); }); #option-3:: To Get if Chcekbox is Checked $(‘.tbl_prop_checkbox .prop_checkbox’).each(function(){ var dis_service = $(this); if(dis_service.is(‘:checked’)){ console.log(‘checked service’); }else{ console.log(‘Not checked service’); } });

How to Increment value clicking plus minus icon in Jquery?

February 6, 2019 10:56 am

Html Code: <div class=”csdisplayorder” > <span class=’csminus glyphicon glyphicon-minus’></span> <input class=”cscurrent” type=”text” disabled value=”1″ data-rid=”1″ data-pid=”2″> <span class=’csplus glyphicon glyphicon-plus’></span> </div> Script: <script type=”text/javascript”> $(document).ready(function(){ $(‘.csdisplayorder .csplus’).live(‘click’, function(){ var dis = $(this); var input_obj = dis.parent().find(‘.cscurrent’);

How to Integrate Select2 for Dropdown or Select Box?

January 19, 2019 9:09 am

Using Select2 from a CDN A CDN (content delivery network) is the fastest way to get up and running with Select2! Select2 is hosted on both the cdnjs and jsDelivr CDNs. Simply include the following lines of code in the section of your page: <link href=”https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css” rel=”stylesheet” /> <script src=”https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js”></script> Or, You Can Download the Library Files From directly SELECT2 Github https://github.com/select2/select2 The