How to use jQuery Select 2 in dropdown
- Article
- Comment (3)
How to use jQuery Select 2 in dropdown?
Step 1: Download relevant jQuery Select 2 files from jquery.com
Step2: Place the jQuery file in includes/page/footer.inc
Step3: Place the following code in company/0/js_cache/utils.js
Line No: 148
$.fn.select2.amd.require([ "select2/core", "select2/utils", "select2/compat/matcher" ], function (Select2, Utils, oldMatcher) { var $basicSingle = $(".js-example-basic-single"); $.fn.select2.defaults.set("width", "100%"); $basicSingle.select2(); } );
How can i disable input or change some objects in customer invoice? such as:
sales_types_list_row
price
payment_terms_list_cells
Amount
Shipping Cost
And dont allow user to input or change these?
I have already gave you the same things on Frontaccounting Forum, have you not checked your ticket there.
i m unable to use jquery in dropdown in Fa.what should i do ?