<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
		<id>https://www.bxpsoftware.com/wixi/index.php?action=history&amp;feed=atom&amp;title=JQuery_and_Bxp</id>
		<title>JQuery and Bxp - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.bxpsoftware.com/wixi/index.php?action=history&amp;feed=atom&amp;title=JQuery_and_Bxp"/>
		<link rel="alternate" type="text/html" href="https://www.bxpsoftware.com/wixi/index.php?title=JQuery_and_Bxp&amp;action=history"/>
		<updated>2026-04-18T21:13:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://www.bxpsoftware.com/wixi/index.php?title=JQuery_and_Bxp&amp;diff=9082&amp;oldid=prev</id>
		<title>Meabh Landers: Created page with &quot;== Overview ==  To use JQuery within bxp we need to modify the jQuery identifier, we need to do this as bxp uses the Prototype library. The Prototype Library uses the $ identi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.bxpsoftware.com/wixi/index.php?title=JQuery_and_Bxp&amp;diff=9082&amp;oldid=prev"/>
				<updated>2021-02-10T14:01:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview ==  To use JQuery within bxp we need to modify the jQuery identifier, we need to do this as bxp uses the Prototype library. The Prototype Library uses the $ identi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
To use JQuery within bxp we need to modify the jQuery identifier, we need to do this as bxp uses the Prototype library. The Prototype Library uses the $ identifier just like JQuery and because the Prototype library is referenced before jQuery we must make a small modification. jQuery allows you to modify the $ identifier to be a custom one, in order to avoid any issues with Prototype&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
var $JQ 			= 	jQuery.noConflict();			//	This line is required to make jQuery Play nice with bxp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above line must be the first line in your custom JavaScript code in order for it to work. When referencing a jQuery function you should use the custom identifier $JQ instead of $&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 $JQ( &amp;quot;#strCDA_X_field_X_X&amp;quot; ).datepicker({&lt;br /&gt;
      numberOfMonths: 1,&lt;br /&gt;
	  changeYear: true,&lt;br /&gt;
	  dateFormat: 'yy-mm-dd',&lt;br /&gt;
      showButtonPanel: true&lt;br /&gt;
    });&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Module Specific:Form Management]]&lt;br /&gt;
[[Category:Topic:JavaScript]]&lt;/div&gt;</summary>
		<author><name>Meabh Landers</name></author>	</entry>

	</feed>