<?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>snipeworld.com &#187; JavaScript</title>
	<atom:link href="http://snipeworld.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://snipeworld.com</link>
	<description>The right man in the right place</description>
	<lastBuildDate>Mon, 28 Jun 2010 05:51:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dynamically parameters in Ajax.Autocompleter</title>
		<link>http://snipeworld.com/2009/11/17/dynamically-parameters-in-ajax-autocompleter/</link>
		<comments>http://snipeworld.com/2009/11/17/dynamically-parameters-in-ajax-autocompleter/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 20:11:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[scriptaculous]]></category>

		<guid isPermaLink="false">http://snipeworld.com/?p=129</guid>
		<description><![CDATA[Two days ago I had a problem with Ajax.Autocompleter (from script.aculo.us library). I needed to use dynamically parameters sending in request to the server. Basically they are created only statically when class is set up. To change this behaviour use this solution:
new Ajax.Autocompleter(
    'search',
    'autocomplete_choices',
    'index.php?controller=search&#38;action=autocomplete, [...]]]></description>
			<content:encoded><![CDATA[<p>Two days ago I had a problem with Ajax.Autocompleter (from <a rel="nofollow" href="http://script.aculo.us">script.aculo.us</a> library). I needed to use dynamically parameters sending in request to the server. Basically they are created only statically when class is set up. To change this behaviour use this solution:</p>
<pre>new Ajax.Autocompleter(
    'search',
    'autocomplete_choices',
    'index.php?controller=search&amp;action=autocomplete, {
        paramName: 'name',
        callback: function(element, entry) {
            return entry+"&amp;"+Form.Element.serialize('type');
        }
    }
);</pre>
]]></content:encoded>
			<wfw:commentRss>http://snipeworld.com/2009/11/17/dynamically-parameters-in-ajax-autocompleter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
