<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Free Web Resources - Web Resources Depot &#187; jQuery UI</title>
	<atom:link href="http://www.webresourcesdepot.com/tag/jquery-ui/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webresourcesdepot.com</link>
	<description>Free Web Resources</description>
	<lastBuildDate>Sun, 12 Feb 2012 13:06:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Add More Widgets To jQuery UI &#8211; Wijmo</title>
		<link>http://www.webresourcesdepot.com/add-more-widgets-to-jquery-ui-wijmo/</link>
		<comments>http://www.webresourcesdepot.com/add-more-widgets-to-jquery-ui-wijmo/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 09:21:41 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[Browsing]]></category>
		<category><![CDATA[GPL License]]></category>
		<category><![CDATA[Goodies]]></category>
		<category><![CDATA[MIT License]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery UI]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1975</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1975&c=22540' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1975&c=22540' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br />jQuery UI is a great addition to jQuery JavaScript framework with the widgets and customization it offers. If you&#39;re looking for alternative widgets, Wijmo, which is a set of 30 items, can be the one. It has 2 versions where the &#34;Open&#34; version has ~15 free to use items and the &#34;Complete&#34; version, which is [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1975&c=18854' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1975&c=18854' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br /><p>jQuery UI is a great addition to jQuery JavaScript framework with the widgets and customization it offers.</p>
<p>If you&#39;re looking for alternative widgets, <a href="http://wijmo.com/" target="_blank"><strong>Wijmo</strong></a>, which is a <strong>set of 30 items</strong>, can be the one.</p>
<p><a href="http://wijmo.com/" target="_blank"><img alt="Wijmo" height="228" src="http://www.webresourcesdepot.com/wp-content/uploads/wijmo-jquery-ui-widgets.jpg" width="480" /></a></p>
<p>It <strong>has 2 versions</strong> where the &quot;Open&quot; version has ~15 free to use items and the &quot;Complete&quot; version, which is commercial (or free for GPL licenses apps), includes the full set.</p>
<p>Wijmo&#39;s &quot;Open&quot; version has many frequently used widgets like <strong>accordion, calendar, progress bar, slider, tabs, tooltip and more</strong>.</p>
<p>They <strong>make use of the jQuery UI CSS Framework and they are Themeroller-ready</strong>.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.admintemplates.com" target="_blank">Professional XHTML Admin Template ($15 Discount With The Code: WRD.)</a><br />
<a href="http://www.xhtmchop.com" target="_blank">Psd to Xhtml</a><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/add-more-widgets-to-jquery-ui-wijmo/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Beautiful Stack Menus With jStackMenu</title>
		<link>http://www.webresourcesdepot.com/beautiful-stack-menus-with-jstackmenu/</link>
		<comments>http://www.webresourcesdepot.com/beautiful-stack-menus-with-jstackmenu/#comments</comments>
		<pubDate>Sun, 02 May 2010 05:59:58 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[Goodies]]></category>
		<category><![CDATA[MIT License]]></category>
		<category><![CDATA[Menu & Navigation]]></category>
		<category><![CDATA[jQuery UI]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1621</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1621&c=11076' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1621&c=11076' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br />jStackMenu is a jQuery UI widget which transforms the children of any element into a beautiful stack menu. The menu opens with a smooth animation and it is possible to control: when it opens and closes the direction it opens the size of the arc the time it takes to open In order customize it [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1621&c=4889' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1621&c=4889' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br /><p><a href="http://moronicbajebus.com/blog/jstackmenu/" target="_blank"><strong>jStackMenu</strong></a> is a <strong>jQuery UI widget</strong> which transforms the children of any element into a beautiful stack menu.</p>
<p>The menu <strong>opens with a smooth animation</strong> and it is possible to control:</p>
<ul>
<li>when it opens and closes</li>
<li>the direction it opens</li>
<li>the size of the arc</li>
<li>the time it takes to open</li>
</ul>
<p>In order customize it more, it also has support for events.</p>
<p>The widget <strong>uses CSS transforms</strong> for creating the arcing and for browsers that doesn&#39;t support the feature, it displays the menu as a straight line.</p>
<p><a href="http://moronicbajebus.com/blog/jstackmenu/" target="_blank"><img alt="jQuery Stack Menu" height="271" src="http://www.webresourcesdepot.com/wp-content/uploads/jquery-stack-menu.jpg" width="480" /></a></p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.admintemplates.com" target="_blank">Professional XHTML Admin Template ($15 Discount With The Code: WRD.)</a><br />
<a href="http://www.xhtmchop.com" target="_blank">Psd to Xhtml</a><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/beautiful-stack-menus-with-jstackmenu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Attractive Multiple Select Inputs With jQuery UI</title>
		<link>http://www.webresourcesdepot.com/attractive-multiple-select-inputs-with-jquery-ui/</link>
		<comments>http://www.webresourcesdepot.com/attractive-multiple-select-inputs-with-jquery-ui/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 08:02:50 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[Forms]]></category>
		<category><![CDATA[Goodies]]></category>
		<category><![CDATA[MIT License]]></category>
		<category><![CDATA[Drag'n Drop]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery UI]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1156</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1156&c=26048' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1156&c=26048' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br />jQuery UI Multiselect is a widget that converts html multiple select inputs into slicker interfaces. It makes searching within the options possible which is very functional for large lists &#38; selected items can be re-ordered by drag&#8217;n drops. It can display the number of selected items &#38; for an easier selection, there are select all/deselect [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1156&c=32459' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1156&c=32459' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br /><p><a href="http://www.quasipartikel.at/multiselect/" target="_blank"><strong>jQuery UI Multiselect</strong></a> is a<strong> </strong>widget that <strong>converts html multiple select inputs into slicker interfaces</strong>.</p>
<p>It makes <strong>searching within the options possible</strong> which is very functional for large lists &amp; selected items can be <strong>re-ordered by drag&#8217;n drops</strong>.</p>
<p><a href="http://www.quasipartikel.at/multiselect/" target="_blank"><img width="480" height="217" src="http://www.webresourcesdepot.com/wp-content/uploads/image/jquery-ui-multi-select.gif" alt="jQuery UI Multi Select" /></a></p>
<p>It <strong>can display the number of selected items</strong> &amp; for an easier selection, there are select all/deselect all links provided.</p>
<p>The widget is unobtrusive &amp; and be styled with <a target="_blank" href="http://jqueryui.com/themeroller/">ThemeRoller</a>.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.admintemplates.com" target="_blank">Professional XHTML Admin Template ($15 Discount With The Code: WRD.)</a><br />
<a href="http://www.xhtmchop.com" target="_blank">Psd to Xhtml</a><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/attractive-multiple-select-inputs-with-jquery-ui/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Interaction Design Tool For Webpages: IxEdit</title>
		<link>http://www.webresourcesdepot.com/interaction-design-tool-for-webpages-ixedit/</link>
		<comments>http://www.webresourcesdepot.com/interaction-design-tool-for-webpages-ixedit/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 17:01:21 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[Extras]]></category>
		<category><![CDATA[GPL License]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery UI]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1138</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1138&c=12887' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1138&c=12887' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br />IxEdit is an easy-to-use &#38; free tool which aims to simplify the implementation of interactions on a web page, specially for anyone who is not experienced in JavaScript. This interaction design tool is built with JavaScript &#38; needs to be embedded into the webpage being edited. With the help of a modal-box-like interface, interactions created [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1138&c=18074' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=1138&c=18074' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br /><p><a href="http://www.ixedit.com/" target="_blank"><strong>IxEdit</strong></a> is an easy-to-use &amp; free tool which aims to simplify the implementation of interactions on a web page, specially for anyone who is not experienced in JavaScript.</p>
<p>This interaction design tool is built with JavaScript &amp; <strong>needs to be embedded into the webpage</strong> being edited. With the help of a modal-box-like interface, interactions created will be applied instantly.</p>
<p><a href="http://www.ixedit.com/" target="_blank"><img width="480" height="156" src="http://www.webresourcesdepot.com/wp-content/uploads/image/interaction-design-tool.jpg" alt="Interaction Design Tool" /></a></p>
<p>Rather than totally new scripts, <strong>IxEdit</strong> generates <strong>jQuery &amp; jQuery UI code</strong> using the parameters specified.</p>
<p>Interactions are <strong>stored in a local database (Google Gears)</strong>, so, anything created won&#8217;t be lost even if the page is refreshed or closed.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.admintemplates.com" target="_blank">Professional XHTML Admin Template ($15 Discount With The Code: WRD.)</a><br />
<a href="http://www.xhtmchop.com" target="_blank">Psd to Xhtml</a><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/interaction-design-tool-for-webpages-ixedit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dynamic Drag&#8217;n Drop With jQuery And PHP</title>
		<link>http://www.webresourcesdepot.com/dynamic-dragn-drop-with-jquery-and-php/</link>
		<comments>http://www.webresourcesdepot.com/dynamic-dragn-drop-with-jquery-and-php/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 05:05:21 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[Browsing]]></category>
		<category><![CDATA[Goodies]]></category>
		<category><![CDATA[License Free]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Drag'n Drop]]></category>
		<category><![CDATA[jQuery UI]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=891</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=891&c=15438' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=891&c=15438' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br />After publishing ScheduledTweets yesterday, I&#160;received e-mails asking &#34;how the drag&#8217;n drop &#38; saving the new positions to the database was working&#34;. Drag&#8217;n drop generally looks hard-to-apply but it is definitely not by using JavaScript frameworks. Here is, how it is done by using jQuery &#38; jQuery UI: The Database: We create a simple database as [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=891&c=17961' target='_blank'><img src='http://rss.buysellads.com/img.php?z=1259982&k=ed230295611f656daf3115e6d682ca7d&a=891&c=17961' border='0' alt='' /></a></p><p><a href='http://buysellads.com/buy/sitedetails/pubkey/ed230295611f656daf3115e6d682ca7d/zone/1259982' target='_blank'>Advertise here with BSA</a></p><br /><p>After publishing <a href="http://www.webresourcesdepot.com/scheduledtweets-free-and-fully-ajaxed-php-application-to-schedule-tweets/">ScheduledTweets</a> yesterday, I&nbsp;received e-mails asking &quot;<strong>how the drag&#8217;n drop &amp; saving the new positions to the database</strong> was working&quot;.</p>
<p><strong>Drag&#8217;n drop</strong> generally <strong>looks hard-to-apply</strong> but it is <strong>definitely not</strong> by using JavaScript frameworks. Here is, how it is done by using <a target="_blank" href="jquery.com/"><strong>jQuery</strong></a> &amp; <a target="_blank" href="http://www.jqueryui.com/"><strong>jQuery UI</strong></a>:</p>
<p><img height="135" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/jquery-drag-n-drop.gif" alt="jQuery Drag'n Drop" /><a href="http://www.webresourcesdepot.com/wp-content/uploads/file/jquerydragdrop/" target="_blank"><img height="48" width="480" style="border: 0px none ;" alt="jQuery Drag'n Drop Demo" src="http://www.webresourcesdepot.com/wp-content/uploads/image/demo-button.gif" /></a><a href="http://feeds2.feedburner.com/webresourcesdepot" target="_blank"><img style="border: 0px none ;" alt="jQuery Drag'n Drop Download" src="http://www.webresourcesdepot.com/wp-content/uploads/image/download-button.gif" /></a></p>
<h3>The Database:</h3>
<p>We create a simple database as below:</p>
<p><img height="92" width="477" src="http://www.webresourcesdepot.com/wp-content/uploads/image/jquery-drag-drop-db.gif" alt="jQuery Drag'n Drop Database" /></p>
<p>The most important column in the database is <code>recordListingID</code> which shows us the order of the records.</p>
<p>This feature can be applied to any table by adding such a column to it.</p>
<h3>The HTML:</h3>
<p>We&#8217;ll be using an <strong>unordered list that is generated from a PHP&nbsp;query</strong> that lists the items according to the <code>recordListingID</code> value mentioned above.</p>
<p>Here it is:</p>
<p>
<pre class="brush: php">&lt;/p&gt;
&lt;div id=&quot;contentLeft&quot;&gt;
&lt;ul&gt;
    &lt;li id=&quot;recordsArray_&amp;lt;?php echo $row[&#039;recordID&#039;]; ?&amp;gt;&quot;&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;p&gt;</pre>
<p>&nbsp;</p>
<h3>The JavaScript:</h3>
<p>We will be using <a target="_blank" href="http://www.jqueryui.com/demos/sortable/"><strong>jQuery UI&#8217;s sortable plugin</strong></a>.</p>
<p>
<pre class="brush: javascript"> &lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function(){ 

	$(function() {
		$(&quot;#contentLeft ul&quot;).sortable({ opacity: 0.6, cursor: &#039;move&#039;, update: function() {
			var order = $(this).sortable(&quot;serialize&quot;) + &#039;&amp;action=updateRecordsListings&#039;;
			$.post(&quot;updateDB.php&quot;, order, function(theResponse){
				$(&quot;#contentRight&quot;).html(theResponse);
			});
		}
		});
	});

});
&lt;/script&gt; </pre>
</p>
<p>We made the unordered list inside <code>#contentLeft</code> a sortable item, used the <code>serialize</code> function of jQuery to create the array and posted it to updateDB.php.</p>
<h3>The PHP:</h3>
<p>After posting the array of &quot;new order of the items&quot; to updateDB.php, we must run a query to update our database that will reflect the last positions of every item:</p>
<p>
<pre class="brush: php">&lt;?php
require(&quot;db.php&quot;);

$action 				= $_POST[&#039;action&#039;];
$updateRecordsArray 	= $_POST[&#039;recordsArray&#039;];

if ($action == &quot;updateRecordsListings&quot;){

	$listingCounter = 1;
	foreach ($updateRecordsArray as $recordIDValue) {

		$query = &quot;UPDATE records SET recordListingID = &quot; . $listingCounter . &quot; WHERE recordID = &quot; . $recordIDValue;
		mysql_query($query) or die(&#039;Error, insert query failed&#039;);
		$listingCounter = $listingCounter + 1;
	}

	echo &#039;&lt;pre&gt;&#039;;
	print_r($updateRecordsArray);
	echo &#039;&lt;/pre&gt;&#039;;
	echo &#039;If you refresh the page, you will see that records will stay just as you modified.&#039;;
}
?&gt;</pre>
</p>
<p>You can see that this is the easiest part. We handled the array as <code>$updateRecordsArray </code>and used it inside a <code>for each</code> statement.</p>
<p>With a new variable named <code>$listingCounter</code>, while the <code>for each</code> statement runs, we have updated the values of <code>recordListingID</code> column of every item in the database with <code>$listingCounter</code> values. And that&#8217;s it.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.admintemplates.com" target="_blank">Professional XHTML Admin Template ($15 Discount With The Code: WRD.)</a><br />
<a href="http://www.xhtmchop.com" target="_blank">Psd to Xhtml</a><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/dynamic-dragn-drop-with-jquery-and-php/feed/</wfw:commentRss>
		<slash:comments>185</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using wincache
Page Caching using wincache (User agent is rejected)
Database Caching using wincache

Served from: www.webresourcesdepot.com @ 2012-02-12 20:55:12 -->
