<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — HOW TO USE JQYERY SELECT2 IN DROPDOWN]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6042&amp;type=atom" />
	<updated>2015-11-29T09:39:24Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6042</id>
		<entry>
			<title type="html"><![CDATA[Re: HOW TO USE JQYERY SELECT2 IN DROPDOWN]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24840#p24840" />
			<content type="html"><![CDATA[<p>Do not write to <strong>js_cache/utils.js</strong> as it will get overwritten on cache refresh when some settings change. The file <strong>js/utils.js</strong> is what you will want to change.</p><p>What is the context of your post?</p><p>jQuery is not used in FA core and in the standard themes. The <strong>dashboard_theme</strong> and <strong>exclusive_db</strong> themes use jQuery v1.3.2 in the themes&#039; <strong>js</strong> folder.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-11-29T09:39:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24840#p24840</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[HOW TO USE JQYERY SELECT2 IN DROPDOWN]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24839#p24839" />
			<content type="html"><![CDATA[<p>Step 1: Download relevant jQuery Select 2 files from jquery.com</p><p>Step2: Place the jQuery file in includes/page/footer.inc</p><p>Step3: Place the following code in company/0/js_cache/utils.js</p><p>$.fn.select2.amd.require([<br />&nbsp; &nbsp; &quot;select2/core&quot;,<br />&nbsp; &nbsp; &quot;select2/utils&quot;,<br />&nbsp; &nbsp; &quot;select2/compat/matcher&quot;<br />&nbsp; &nbsp; ], function (Select2, Utils, oldMatcher) {<br />&nbsp; &nbsp; &nbsp; &nbsp; var $basicSingle = $(&quot;.js-example-basic-single&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; $.fn.select2.defaults.set(&quot;width&quot;, &quot;100%&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; $basicSingle.select2();<br />&nbsp; &nbsp; }<br />);</p>]]></content>
			<author>
				<name><![CDATA[suresh.senthatti]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20863</uri>
			</author>
			<updated>2015-11-29T09:03:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24839#p24839</id>
		</entry>
</feed>
