<?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>Ajax Updates &#187; Jquery Ajax</title>
	<atom:link href="http://www.ajaxupdates.com/tag/jquery-ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxupdates.com</link>
	<description>Latest Ajax Scripts, Examples, News and other Ajax related stuff</description>
	<lastBuildDate>Fri, 12 Feb 2010 12:46:54 +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>Twitter like Search with jQuery and Ajax</title>
		<link>http://www.ajaxupdates.com/twitter-like-search-with-jquery-and-ajax/</link>
		<comments>http://www.ajaxupdates.com/twitter-like-search-with-jquery-and-ajax/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 16:01:32 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Search Engine Scripts]]></category>
		<category><![CDATA[9lessons]]></category>
		<category><![CDATA[Advertising]]></category>
		<category><![CDATA[ajax demos]]></category>
		<category><![CDATA[ajax examples]]></category>
		<category><![CDATA[ajax programming]]></category>
		<category><![CDATA[Ajax Search]]></category>
		<category><![CDATA[ajax tutorial]]></category>
		<category><![CDATA[application development]]></category>
		<category><![CDATA[blog templates]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[css tutorials]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database software]]></category>
		<category><![CDATA[examples]]></category>
		<category><![CDATA[facebook like]]></category>
		<category><![CDATA[facebook scripts]]></category>
		<category><![CDATA[free scripts]]></category>
		<category><![CDATA[google ajax api]]></category>
		<category><![CDATA[google draw]]></category>
		<category><![CDATA[google visualization]]></category>
		<category><![CDATA[java script]]></category>
		<category><![CDATA[java software]]></category>
		<category><![CDATA[javascript form validation]]></category>
		<category><![CDATA[jdbc tutorial]]></category>
		<category><![CDATA[Jquery Ajax]]></category>
		<category><![CDATA[jquery ajax demos]]></category>
		<category><![CDATA[jquery demos]]></category>
		<category><![CDATA[jquery form submit]]></category>
		<category><![CDATA[jquery slide effect]]></category>
		<category><![CDATA[jquery tutorial]]></category>
		<category><![CDATA[Jsp]]></category>
		<category><![CDATA[learn html]]></category>
		<category><![CDATA[logos]]></category>
		<category><![CDATA[mail php]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[php ajax]]></category>
		<category><![CDATA[php programming]]></category>
		<category><![CDATA[Php Scripts]]></category>
		<category><![CDATA[php tutorial]]></category>
		<category><![CDATA[quick book]]></category>
		<category><![CDATA[Regular Expression]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[servlets]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[sql script]]></category>
		<category><![CDATA[sql tutorials]]></category>
		<category><![CDATA[srinivas tamada]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[twitter demos]]></category>
		<category><![CDATA[twitter like search]]></category>
		<category><![CDATA[twitter scripts]]></category>
		<category><![CDATA[twitter search]]></category>
		<category><![CDATA[Validation]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Developers]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[web programming]]></category>
		<category><![CDATA[Web Server]]></category>
		<category><![CDATA[website design]]></category>
		<category><![CDATA[website designer]]></category>
		<category><![CDATA[Xml]]></category>
		<category><![CDATA[your site]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=3847</guid>
		<description><![CDATA[Learn how to display twitter like search results with jQuery and Ajax. When you click the search button the results will display on the same page.
Contains javascript, PHP and HTML code. $(&#8220;.submit_button&#8221;).click(function(){}- submit_button is the class name of anchor tag. Using element.attr(&#8220;id&#8221;) calling search input value. 
 &#60;script type=&#34;text/javascript&#34; src=&#34;http://ajax.googleapis.com/ajax/
libs/jquery/1.3.0/jquery.min.js&#34;&#62;&#60;/script&#62;
&#60;script type=&#34;text/javascript&#34;&#62;
$(function()
{
$(&#34;.search_button&#34;).click(function()
{
var search_word = $(&#34;#search_box&#34;).val();
var dataString [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/twitter-api-to-create-a-stream-of-messages-with-php-and-jquery/' rel='bookmark' title='Permanent Link: Twitter API to create a stream of messages with PHP and jQuery'>Twitter API to create a stream of messages with PHP and jQuery</a> <small>This tutorial illustrates a very simple way to work with...</small></li>
<li><a href='http://www.ajaxupdates.com/simple-twitter-app-with-jquery-templates-and-jsonp/' rel='bookmark' title='Permanent Link: Simple Twitter App with jQuery Templates and JSONP'>Simple Twitter App with jQuery Templates and JSONP</a> <small>Twitter hosts this cool jsonp interface that enables you to...</small></li>
<li><a href='http://www.ajaxupdates.com/incremental-search-for-select-boxes-jquery-plugin/' rel='bookmark' title='Permanent Link: Incremental Search for Select Boxes &#8211; jQuery Plugin'>Incremental Search for Select Boxes &#8211; jQuery Plugin</a> <small>Did you ever have to scroll through a select box...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Learn how to display twitter like search results with jQuery and Ajax. When you click the search button the results will display on the same page.</p>
<p>Contains javascript, PHP and HTML code. $(&#8220;.submit_button&#8221;).click(function(){}- submit_button is the class name of anchor tag. Using element.attr(&#8220;id&#8221;) calling search input value. </p>
<pre class="brush: javascript"> &lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/
libs/jquery/1.3.0/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(function()
{
$(&quot;.search_button&quot;).click(function()
{
var search_word = $(&quot;#search_box&quot;).val();
var dataString = &#039;search_word=&#039;+ search_word;

if(search_word==&#039;&#039;)
{
}
else
{
$.ajax({
type: &quot;GET&quot;,
url: &quot;searchdata.php&quot;,
data: dataString,
cache: false,
beforeSend: function(html)
{
document.getElementById(&quot;insert_search&quot;).innerHTML = &#039;&#039;;
$(&quot;#flash&quot;).show();
$(&quot;#searchword&quot;).show();
$(&quot;.searchword&quot;).html(search_word);
$(&quot;#flash&quot;).html(&#039;&lt;img src=&quot;ajax-loader.gif&quot; /&gt; Loading Results...&#039;);
},

success: function(html){
$(&quot;#insert_search&quot;).show();
$(&quot;#insert_search&quot;).append(html);
$(&quot;#flash&quot;).hide();
}

});

}
return false;
});
});
&lt;/script&gt;

&lt;form method=&quot;get&quot; action=&quot;&quot;&gt;
&lt;input type=&quot;text&quot; name=&quot;search&quot; id=&quot;search_box&quot; class=&#039;search_box&#039;/&gt;
&lt;input type=&quot;submit&quot; value=&quot;Search&quot; class=&quot;search_button&quot; /&gt;
&lt;/form&gt;

&lt;div id=&quot;searchword&quot;&gt;
Search results for &lt;span class=&quot;searchword&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div id=&quot;flash&quot;&gt;&lt;/div&gt;
&lt;ol id=&quot;insert_search&quot; class=&quot;update&quot;&gt;

&lt;/ol&gt;  </pre>
<p><strong>Searchdata.php</strong><br />
Contains simple PHP Code. Using LIKE to find the database results.</p>
<pre class="brush: php">&lt; ?php
include(&#039;config.php&#039;);
if(isset($_GET[&#039;search_word&#039;]))
{
$search_word=$_GET[&#039;search_word&#039;];
$sql=mysql_query(&quot;SELECT * FROM messages WHERE msg LIKE &#039;%$search_word%&#039; ORDER BY mes_id DESC LIMIT 20&quot;);
$count=mysql_num_rows($sql);
if($count &gt; 0)
{
while($row=mysql_fetch_array($sql))
{

$msg=$row[&#039;msg&#039;];
$bold_word=&#039;&lt;b&gt;&#039;.$search_word.&#039;&lt;/b&gt;&#039;;
$final_msg = str_ireplace($search_word, $bold_word, $msg);
?&gt;

&lt;li&gt;&lt; ?php echo $final_msg; ?&gt;&lt;/li&gt;

&lt; ?php
}
}
else
{
echo &quot;&lt;li&gt;No Results&quot;;
}
}
?&gt;   </pre>
<p>CSS:</p>
<pre class="brush: css">  *{margin:0;padding:0;}
ol.update
{
list-style:none;
font-size:1.1em;
margin-top:20px
}
ol.update li
{
height:70px;
border-bottom:#dedede dashed 1px;
text-align:left;
}
ol.update li:first-child
{
border-top:#dedede dashed 1px;
height:70px;
text-align:left
} </pre>
<p><!--adsense--><br />
Demo: <a href="http://9lessons.net63.net/newsearch.php">http://9lessons.net63.net/newsearch.php</a><br />
Download: <a href="http://www.box.net/shared/m2qnh6l8no">http://www.box.net/shared/m2qnh6l8no</a><br />
Source: <a href="http://9lessons.blogspot.com/2009/08/twitter-like-search-with-jquery-ajax.html">http://9lessons.blogspot.com/2009/08/twitter-like-search-with-jquery-ajax.html</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Ftwitter-like-search-with-jquery-and-ajax%2F', 'Twitter+like+Search+with+jQuery+and+Ajax')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Ftwitter-like-search-with-jquery-and-ajax%2F', title: '+Twitter+like+Search+with+jQuery+and+Ajax+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/twitter-api-to-create-a-stream-of-messages-with-php-and-jquery/' rel='bookmark' title='Permanent Link: Twitter API to create a stream of messages with PHP and jQuery'>Twitter API to create a stream of messages with PHP and jQuery</a> <small>This tutorial illustrates a very simple way to work with...</small></li>
<li><a href='http://www.ajaxupdates.com/simple-twitter-app-with-jquery-templates-and-jsonp/' rel='bookmark' title='Permanent Link: Simple Twitter App with jQuery Templates and JSONP'>Simple Twitter App with jQuery Templates and JSONP</a> <small>Twitter hosts this cool jsonp interface that enables you to...</small></li>
<li><a href='http://www.ajaxupdates.com/incremental-search-for-select-boxes-jquery-plugin/' rel='bookmark' title='Permanent Link: Incremental Search for Select Boxes &#8211; jQuery Plugin'>Incremental Search for Select Boxes &#8211; jQuery Plugin</a> <small>Did you ever have to scroll through a select box...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/twitter-like-search-with-jquery-and-ajax/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ajax Inline Quick Edit in Place</title>
		<link>http://www.ajaxupdates.com/ajax-inline-quick-edit-in-place/</link>
		<comments>http://www.ajaxupdates.com/ajax-inline-quick-edit-in-place/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 17:39:00 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Editors]]></category>
		<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[ajax edit in place]]></category>
		<category><![CDATA[ajax editor]]></category>
		<category><![CDATA[Boolean]]></category>
		<category><![CDATA[Chunk]]></category>
		<category><![CDATA[Confusion]]></category>
		<category><![CDATA[edit in place]]></category>
		<category><![CDATA[Elements]]></category>
		<category><![CDATA[Elments]]></category>
		<category><![CDATA[Error Condition]]></category>
		<category><![CDATA[Error Error]]></category>
		<category><![CDATA[Error Text]]></category>
		<category><![CDATA[Fast Forward]]></category>
		<category><![CDATA[in place edit]]></category>
		<category><![CDATA[inline editor]]></category>
		<category><![CDATA[Javascript Library]]></category>
		<category><![CDATA[Jquery Ajax]]></category>
		<category><![CDATA[Library Field]]></category>
		<category><![CDATA[Momentum]]></category>
		<category><![CDATA[New Option]]></category>
		<category><![CDATA[Page Element]]></category>
		<category><![CDATA[quick edit]]></category>
		<category><![CDATA[quick editor]]></category>
		<category><![CDATA[String Url]]></category>
		<category><![CDATA[Type Element]]></category>
		<category><![CDATA[Type String]]></category>
		<category><![CDATA[Xhr]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=2007</guid>
		<description><![CDATA[Ajax Inline Edit in Place Script is a fast forward and the momentum in the Javascript library field has moved decidedly to jQuery. I’ve been meaning to write a port of the edit in place code to use jQuery, and now I finally have. To help confusion with the original code I’m calling it jQuery [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/ajax-instant-inline-text-edit/' rel='bookmark' title='Permanent Link: Ajax Instant Inline Text Edit'>Ajax Instant Inline Text Edit</a> <small>Ajax Instant Edit Text User can edit the inline text...</small></li>
<li><a href='http://www.ajaxupdates.com/nicedit-inline-content-editor/' rel='bookmark' title='Permanent Link: NicEdit Inline Content Editor'>NicEdit Inline Content Editor</a> <small>NicEdit is a WYSIWYG editor for websites. Its goal is...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Ajax Inline Edit in Place Script is a fast forward and the momentum in the Javascript library field has moved decidedly to jQuery. I’ve been meaning to write a port of the edit in place code to use jQuery, and now I finally have. To help confusion with the original code I’m calling it jQuery Edit In Place, or JEIP for short.</p>
<p><strong>Usage:</strong><br />
Here’s the most basic example, it enables in line editing for the page element that has an id of content.</p>
<pre class="brush: javascript">$( &quot;#content&quot; ).eip( &quot;save.php&quot; );</pre>
<p>After editing is complete and the user clicks on the save button the script sends the url, form_type, element id, original value and new value data via HTTP post to save.php. The returned data is expected to be in JSON object, with the following values: is_error, error_text and html. The is_error field is a boolean, and error_text is used to provide information about the error condition. The html is a string that is used to replace the contents of the edited element.</p>
<p>If you’ve got a larger chunk of text to edit you’ll want to use a textarea form:</p>
<pre class="brush: javascript">
$( &quot;#content&quot; ).eip( &quot;save.php&quot;, {
    form_type: &quot;textarea&quot;
} );
</pre>
<p>And for those cases where you just need to provide options, there’s an easy way to do a select form:</p>
<pre class="brush: javascript">
$( &quot;#content&quot; ).eip( &quot;save.php&quot;, {
    form_type: &quot;select&quot;,
    select_options: {
        blue    : &quot;Blue&quot;,
        green   : &quot;Green&quot;,
        red     : &quot;Red&quot;,
        black   : &quot;Black&quot;,
        brown   : &quot;Brown&quot;,
        white   : &quot;White&quot;
    }
} );
</pre>
<p>For select forms two additional bits of data are passed to the save URL: the original option text and the new option text.</p>
<p>The eip function will also work on multiple elments, so if you select a class it will make all of the elements with that class editable:</p>
<pre class="brush: javascript">$( &quot;.edit-class&quot; ).eip( &quot;save.php&quot; );</pre>
<p><strong>The Save XHR and Response</strong></p>
<p>When the edit form is saved JEIP uses the jQuery AJAX function to send data to the save URL. It send the following fields via HTTP POST:</p>
<p>    * url – (string) URL that the edit form was on.<br />
    * form_type – (string) The type of edit form that was used (text, textarea, select)<br />
    * id – (string) The id of the DOM element that was edited.<br />
    * orig_value – (string) The original value of the DOM element that was edited.<br />
    * new_value – (string) The new value of the DOM element that was edited.<br />
    * data – (object) Optional additional data that was passed along via the original eip call.</p>
<p>For select form edits two additional fields are sent:</p>
<p>    * orig_option_text – (string) The original option display text.<br />
    * new_option_text – (string) The new option display text.</p>
<p>The response to the XHR needs to be a JSON object with three values:</p>
<p>    * is_error – (bool) When true indicates that there was some sort of error when the save URL processed the XHR. Under normal conditions this should be set to false.<br />
    * error_text – (string) When is_error is true, this string is used to provide a plain text descriptive of what the error was.<br />
    * html – (string) This string is used to replace the old value of the edited DOM element.</p>
<p><strong>Options</strong></p>
<p>There are a number of options that can be provided as part of the second parameter in the eip function. The defaults should fit for most, but if you want to tweak things I’ve tried to provide lots knobs.</p>
<p>    * save_on_enter – (bool) When true the save event is triggered when the enter key is pressed. Doesn’t apply for textarea edits.<br />
    * cancel_on_esc – (bool) When true the cancel event is triggered when the escape key is pressed.<br />
    * focus_edit – (bool) When true give the edit field focus when the edit form is shown.<br />
    * select_text – (bool) When true select the text in the edit field.<br />
    * edit_event – (string – event) What type of event (usually click or dblclick) to trigger the edit mode.<br />
    * select_options – (object) Key/value pairs for the option fields in a select form. The key will be used as the option value and the value from the option will be used as the display option text.<br />
    * data – (object) Additional data that will be passed in the XHR to the save URL.<br />
    * form_type – (string) What type of edit form to use: text, textarea and select. The default is text.<br />
    * size – (int) Value to use for the size attribute on the edit field. By default this is calculated at run time.<br />
    * max_size – (int) Maximum value to allow when calculating the size value.<br />
    * rows – (int) Value to use for the rows attribute in textarea edit forms. By default this is calculated at run time.<br />
    * max_rows – (int) Maximum value to allow when calculating the rows value.<br />
    * cols – (int) Value to use for the cols attribute in the textarea edit forms.<br />
    * savebutton_text – (string) Text to use on the save button.<br />
    * savebutton_class – (string – CSS class) CSS class to use on the save button. The default value is jeip-savebutton.<br />
    * cancelbutton_text – (string) Text to use the on the cancel button.<br />
    * cancelbutton_class – (string – CSS class) CSS class to use on the cancel button. The default value is jeip-cancelbutton.<br />
    * mouseover_class – (string – CSS class) CSS class to apply when the mouse enters an element that is editable. The default value is jeip-mouseover.<br />
    * editor_class – (string – CSS class) CSS class to apply to the edit form wrapper. The default value is jeip-editor.<br />
    * editfield_class – (string – CSS class) CSS class used on the edit field element. The default value is jeip-editfield.<br />
    * saving_text – (string) Text shown while the XHR is waiting for a response. The default value is ‘Saving …’.<br />
    * saving_class – (string – CSS class) CSS class used on the saving_text string. The default value is jeip-saving.<br />
    * saving – (string – template) Template string used to show the saving_text string.<br />
    * start_form – (string – template) Template string used to start the edit form.<br />
    * form_buttons – (string – template) Template string used to show the form buttons.<br />
    * stop_form – (string – template) Template string used to end the edit form.<br />
    * text_form – (string – template) Template string used to show the text edit forms.<br />
    * textarea_form – (string – template) Template string used to show the textarea edit forms.<br />
    * start_select_form – (string – template) Template string used to start a select edit form.<br />
    * select_option_form – (string – template) Template string used to show options elements in select edit forms.<br />
    * stop_select_form – (string – template) Template string used to edit a select edit form.<br />
    * after_save – (function) Function that is called after the XHR completes. By default it just flashes the element a few times.<br />
    * on_error – (function) Function that is called when the save URL returns an error (by setting is_error to true in the return JSON object). By default it calls the alert() function to show the error_text returned from the XHR.</p>
<p>Demo: <a href="http://josephscott.org/projects/code/javascript/jeip/example/">http://josephscott.org/projects/code/javascript/jeip/example/</a><br />
Download: <a href="http://jeip.googlecode.com/svn/tags/0.1.2/jeip.js">http://jeip.googlecode.com/svn/tags/0.1.2/jeip.js</a><br />
Source: <a href="http://josephscott.org/code/javascript/jquery-edit-in-place/">http://josephscott.org/code/javascript/jquery-edit-in-place/</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fajax-inline-quick-edit-in-place%2F', 'Ajax+Inline+Quick+Edit+in+Place')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fajax-inline-quick-edit-in-place%2F', title: '+Ajax+Inline+Quick+Edit+in+Place+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/ajax-instant-inline-text-edit/' rel='bookmark' title='Permanent Link: Ajax Instant Inline Text Edit'>Ajax Instant Inline Text Edit</a> <small>Ajax Instant Edit Text User can edit the inline text...</small></li>
<li><a href='http://www.ajaxupdates.com/nicedit-inline-content-editor/' rel='bookmark' title='Permanent Link: NicEdit Inline Content Editor'>NicEdit Inline Content Editor</a> <small>NicEdit is a WYSIWYG editor for websites. Its goal is...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/ajax-inline-quick-edit-in-place/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax Autocomplete Script using jQuery</title>
		<link>http://www.ajaxupdates.com/ajax-autocomplete-script-using-jquery/</link>
		<comments>http://www.ajaxupdates.com/ajax-autocomplete-script-using-jquery/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 16:38:51 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Auto Complete]]></category>
		<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Ajax Autocomplete]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[Guts]]></category>
		<category><![CDATA[Implementation]]></category>
		<category><![CDATA[Input Box]]></category>
		<category><![CDATA[Jquery Ajax]]></category>
		<category><![CDATA[Localhost]]></category>
		<category><![CDATA[Php File]]></category>
		<category><![CDATA[Real Magic]]></category>
		<category><![CDATA[Rpc]]></category>
		<category><![CDATA[Suggestion Box]]></category>
		<category><![CDATA[Url Data]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=1973</guid>
		<description><![CDATA[This tutorial for the auto completer applications i have seen just dump the code into a zip and tell you how to use it rather than how and why it works, knowing about this enables you to customise it a lot more (this has been demonstrated with the other apps i have written here)!

And so [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/jquery-autocomplete-mod/' rel='bookmark' title='Permanent Link: jQuery Autocomplete Mod'>jQuery Autocomplete Mod</a> <small>This is a modification of Dylan Verheul&#8217;s jQuery Autcomplete plug-in....</small></li>
<li><a href='http://www.ajaxupdates.com/autocomplete-textboxlist-script/' rel='bookmark' title='Permanent Link: Autocomplete TextboxList Script'>Autocomplete TextboxList Script</a> <small>Extend TextboxList to add closing functionality via a link added...</small></li>
<li><a href='http://www.ajaxupdates.com/autocomplete-widget/' rel='bookmark' title='Permanent Link: Autocomplete Widget'>Autocomplete Widget</a> <small>The tool is designed to bring good feelings for both...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This tutorial for the auto completer applications i have seen just dump the code into a zip and tell you how to use it rather than how and why it works, knowing about this enables you to customise it a lot more (this has been demonstrated with the other apps i have written here)!</p>
<p><img src="http://res.nodstrum.com/autoComplete/screenshots/AutoComplete_1.png" alt="" width="250" height="148" /></p>
<p>And so we begin:<br />
<strong>JavaScript</strong></p>
<pre class="brush: javascript">&lt;script src=&quot;jquery-1.2.1.pack.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;

function lookup(inputString) {
    if(inputString.length == 0) {
        // Hide the suggestion box.
        $(‘#suggestions’).hide();
    } else {
        $.post(&quot;rpc.php&quot;, {queryString: &quot;&quot;+inputString+&quot;&quot;}, function(data){
            if(data.length &gt;0) {
                $(‘#suggestions’).show();
                $(‘#autoSuggestionsList’).html(data);
            }
        });
    }
} // lookup

function fill(thisValue) {
    $(‘#inputString’).val(thisValue);
   $(‘#suggestions’).hide();
}

&lt;/script&gt;</pre>
<p><strong>JS Explaniation</strong></p>
<p>Ok, the above code it the guts to the script, this allows us to hook into the rpc.php file which carries out all the processing.</p>
<p>The Lookup function takes the word from the input box and POSTS it to the rpc.php page using the jQuery Ajax POST call.</p>
<p><strong>IF</strong> the inputString is ‘0′ (Zero), it hides the suggestion box, naturally you would not want this showing if there is nothing in the text box. to search for.</p>
<p><strong>ELSE </strong>we take the ‘inputString’  and post it to the rpc.php page, the jQuery $.post() function is used as follows…</p>
<pre class="brush: javascript">$.post(url, [data], [callback])</pre>
<p>The ‘callback’ part allows to hook in a function, this is where the real magic if thats what you can call it happens.</p>
<p><strong>IF</strong> the ‘data’ returned length is more than zero (ie: there is actually something to show), show the suggestionBox and replace the HTML inside with the returned data.</p>
<p>SIMPLE!</p>
<p><strong>Now for the PHP Backend (RPC.php)</strong></p>
<p>As always my PHP Backend page is called rpc.php (Remote Procedure Call) not that it actually does that, but hey-ho.</p>
<pre class="brush: php">// PHP5 Implementation - uses MySQLi.
$db = new mysqli(‘localhost’, ‘root’ ,”, ‘autoComplete’);
if(!$db) {
    // Show error if we cannot connect.
    echo ‘ERROR: Could not connect to the database.’;
} else {
    // Is there a posted query string?
    if(isset($_POST[‘queryString’])) {
        $queryString = $_POST[‘queryString’];
        // Is the string length greater than 0?
        if(strlen($queryString) &gt;0) {
        // Run the query: We use LIKE ‘$queryString%’
        // The percentage sign is a wild-card, in my example of countries it works like this…
        // $queryString = ‘Uni’;
        // Returned data = ‘United States, United Kindom’;

        $query = $db-&gt;query(&quot;SELECT value FROM countries WHERE value LIKE ‘$queryString%’ LIMIT 10&quot;);
        if($query) {
            // While there are results loop through them - fetching an Object (i like PHP5 btw!).
            while ($result = $query -&gt;fetch_object()) {
                // Format the results, im using &lt;li&gt; for the list, you can change it.
                // The onClick function fills the textbox with the result.
                echo ‘&lt;/li&gt;&lt;li onclick=&quot;fill(’‘.$result-&gt;value.’‘);&quot;&gt;’.$result-&gt;value.‘&lt;/li&gt;’;
            }
        } else {
            echo ‘ERROR: There was a problem with the query.’;
        }
    } else {
        // Dont do anything.
    } // There is a queryString.
} else {
    echo ‘There should be no direct access to this script!’;
}
}

?&gt;</pre>
<p><strong>PHP Explaination</strong></p>
<p>Im not going to go into much detail here because there are loads of comments in the code above.</p>
<p>Basically, it takes the  ‘QueryString’ and does a query with a wildcard at the en.</p>
<p>This means that in this case of the code each key-press generates a new query, this is MySQL intensive if its always being done, but short of making it exceedingly complex it is fine for small scale applications.</p>
<p>The PHP code is the part you have to change to work in your system, and all the it is updating the ‘$query’ to your database, you should be able to see where you put the table column name in etc…</p>
<p><strong>CSS Styling &#8211; im using CSS3, YEA BABY! much easier although limits the functionality to Firefox and Safari.</strong></p>
<pre class="brush: css">&lt;style type=&quot;text/css&quot;&gt;

.suggestionsBox {
    position: relative;
    left: 30px;
    margin: 10px 0px 0px 0px;
    width: 200px;
    background-color: #212427;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border: 2px solid #000;
    color: #fff;
}

.suggestionList {
    margin: 0px;
    padding: 0px;
}

.suggestionList li {
    margin: 0px 0px 3px 0px;
    padding: 3px;
    cursor: pointer;
}

.suggestionList li:hover {
    background-color: #659CD8;
}
&lt;/style&gt;</pre>
<p>The CSS is pretty standard, nothing out of the ordinary.</p>
<p><strong>Main HTML</strong></p>
<pre class="brush: html">&lt;div&gt;

       &lt;div&gt;

      Type your county (for the demo):
&lt;input size=&quot;30&quot; id=&quot;inputString&quot; onkeyup=&quot;lookup(this.value);&quot; type=&quot;text&quot; /&gt;

    &lt;/div&gt;      &lt;div class=&quot;suggestionsBox&quot; id=&quot;suggestions&quot; style=&quot;display: none;&quot;&gt;

      &lt;img src=&quot;upArrow.png&quot; style=&quot;position: relative; top: -12px; left: 30px&quot; alt=&quot;upArrow&quot; /&gt;

      &lt;div class=&quot;suggestionList&quot; id=&quot;autoSuggestionsList&quot;&gt;

&lt;/div&gt;

    &lt;/div&gt;

&lt;/div&gt;</pre>
<p>That is the main bit of HTML, really all you need to run this is an input text box with the ‘onkeyup’ function set to lookup(this.value); Also, i recommend NOT changing the ID of the input box, unless you change it in the Javascript section <img src="http://nodstrum.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p><strong>Screenshots <img src="http://nodstrum.com/wp-includes/images/smilies/icon_wink.gif" alt=";-)" /> </strong></p>
<p>I suppose you want to see some more screen shots…. OK.</p>
<p><img src="http://res.nodstrum.com/autoComplete/screenshots/AutoComplete_2.png" alt="" width="262" height="311" /></p>
<p>And another one!</p>
<p><img src="http://res.nodstrum.com/autoComplete/screenshots/AutoComplete_3.png" alt="" width="252" height="214" /></p>
<p><strong>And now for the links… this is probably what you are all looking for!</strong></p>
<p>Demo: <a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=25">Auto Complete Demo</a></p>
<p>Source ZIP: <a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=26">AutoComplete Source ZIP</a></p>
<p>this tutorial because most of the auto completer applications i have seen just dump the code into a zip and tell you how to use it rather than how and why it works, knowing about this enables you to customise it a lot more (this has been demonstrated with the other apps i have written here)!</p>
<p><img src="http://res.nodstrum.com/autoComplete/screenshots/AutoComplete_1.png" alt="" width="250" height="148" /></p>
<p>And so we begin:<br />
<strong>JavaScript</strong></p>
<div><script src="<span">// < ![CDATA[
"jquery-1.2.1.pack.js" type=<span>"text/javascript">
// ]]&gt;</script><script type="<span">// < ![CDATA[
"text/javascript"><span>function</span> lookup<span>(</span>inputString<span>)</span> <span>{</span>
    <span>if</span><span>(</span>inputString.<span>length</span> == <span>0</span><span>)</span> <span>{</span>
        <span>// Hide the suggestion box.</span>
        $<span>(</span><span>‘#suggestions’</span><span>)</span>.<span>hide</span><span>(</span><span>)</span>;
    <span>}</span> <span>else</span> <span>{</span>
        $.<span>post</span><span>(</span><span>"rpc.php"</span>, <span>{</span>queryString: <span>""</span>+inputString+<span>""</span><span>}</span>, <span>function</span><span>(</span>data<span>)</span><span>{</span>
            <span>if</span><span>(</span>data.<span>length</span> ><span>0</span><span>)</span> <span>{</span>
                $<span>(</span><span>‘#suggestions’</span><span>)</span>.<span>show</span><span>(</span><span>)</span>;
                $<span>(</span><span>‘#autoSuggestionsList’</span><span>)</span>.<span>html</span><span>(</span>data<span>)</span>;
            <span>}</span>
        <span>}</span><span>)</span>;
    <span>}</span>
<span>}</span> <span>// lookup</span></p>
<p><span>function</span> fill<span>(</span>thisValue<span>)</span> <span>{</span>
    $<span>(</span><span>‘#inputString’</span><span>)</span>.<span>val</span><span>(</span>thisValue<span>)</span>;
   $<span>(</span><span>‘#suggestions’</span><span>)</span>.<span>hide</span><span>(</span><span>)</span>;
<span>}</span>
// ]]&gt;</script></div>
<p><strong>JS Explaniation</strong></p>
<p>Ok, the above code it the guts to the script, this allows us to hook into the rpc.php file which carries out all the processing.</p>
<p>The Lookup function takes the word from the input box and POSTS it to the rpc.php page using the jQuery Ajax POST call.</p>
<p><strong>IF</strong> the inputString is ‘0′ (Zero), it hides the suggestion box, naturally you would not want this showing if there is nothing in the text box. to search for.</p>
<p><strong>ELSE </strong>we take the ‘inputString’  and post it to the rpc.php page, the jQuery $.post() function is used as follows…</p>
<div>$.<span>post</span><span>(</span>url, <span>[</span>data<span>]</span>, <span>[</span>callback<span>]</span><span>)</span></div>
<p>The ‘callback’ part allows to hook in a function, this is where the real magic if thats what you can call it happens.</p>
<p><strong>IF</strong> the ‘data’ returned length is more than zero (ie: there is actually something to show), show the suggestionBox and replace the HTML inside with the returned data.</p>
<p>SIMPLE!</p>
<p><strong>Now for the PHP Backend (RPC.php)</strong></p>
<p>As always my PHP Backend page is called rpc.php (Remote Procedure Call) not that it actually does that, but hey-ho.</p>
<div><span>// PHP5 Implementation &#8211; uses MySQLi. </span><br />
<span>$db</span> = <span>new</span> mysqli<span>(</span><span>‘localhost’</span>, <span>‘root’</span> ,<span>”</span>, <span>‘autoComplete’</span><span>)</span>;<br />
<span>if</span><span>(</span>!<span>$db</span><span>)</span> <span>{</span><br />
    <span>// Show error if we cannot connect.</span><br />
    <a onclick="javascript:urchinTracker('/outbound/www.php.net/echo?ref=http_//www.ajaxrain.com/library?sort=_page=18_limit=30');" href="http://www.php.net/echo"><span>echo</span></a> <span>‘ERROR: Could not connect to the database.’</span>;<br />
<span>}</span> <span>else</span> <span>{</span><br />
    <span>// Is there a posted query string?</span><br />
    <span>if</span><span>(</span><a onclick="javascript:urchinTracker('/outbound/www.php.net/isset?ref=http_//www.ajaxrain.com/library?sort=_page=18_limit=30');" href="http://www.php.net/isset"><span>isset</span></a><span>(</span><span>$_POST</span><span>[</span><span>‘queryString’</span><span>]</span><span>)</span><span>)</span> <span>{</span><br />
        <span>$queryString</span> = <span>$_POST</span><span>[</span><span>‘queryString’</span><span>]</span>;<br />
        <span>// Is the string length greater than 0?</span><br />
        <span>if</span><span>(</span><a onclick="javascript:urchinTracker('/outbound/www.php.net/strlen?ref=http_//www.ajaxrain.com/library?sort=_page=18_limit=30');" href="http://www.php.net/strlen"><span>strlen</span></a><span>(</span><span>$queryString</span><span>)</span> ><span>0</span><span>)</span> <span>{</span><br />
        <span>// Run the query: We use LIKE ‘$queryString%’</span><br />
        <span>// The percentage sign is a wild-card, in my example of countries it works like this…</span><br />
        <span>// $queryString = ‘Uni’;</span><br />
        <span>// Returned data = ‘United States, United Kindom’;</span>        <span>$query</span> = <span>$db</span>-><span>query</span><span>(</span><span>&#8220;SELECT value FROM countries WHERE value LIKE ‘$queryString%’ LIMIT 10&#8243;</span><span>)</span>;<br />
        <span>if</span><span>(</span><span>$query</span><span>)</span> <span>{</span><br />
            <span>// While there are results loop through them &#8211; fetching an Object (i like PHP5 btw!).</span><br />
            <span>while</span> <span>(</span><span>$result</span> = <span>$query</span> -><span>fetch_object</span><span>(</span><span>)</span><span>)</span> <span>{</span><br />
                <span>// Format the results, im using</p>
<li> for the list, you can change it.</li>
<p></span><br />
                <span>// The onClick function fills the textbox with the result.</span><br />
                <a onclick="javascript:urchinTracker('/outbound/www.php.net/echo?ref=http_//www.ajaxrain.com/library?sort=_page=18_limit=30');" href="http://www.php.net/echo"><span>echo</span></a> <span>‘</p>
<li onclick="fill(’</span><span>‘.$result->value.’</span><span>‘);&#8221;>’</span></li>
<p></span>.<span>$result</span>-><span>value</span>.<span>‘</span>’;<br />
            <span>}</span><br />
        <span>}</span> <span>else</span> <span>{</span><br />
            <a onclick="javascript:urchinTracker('/outbound/www.php.net/echo?ref=http_//www.ajaxrain.com/library?sort=_page=18_limit=30');" href="http://www.php.net/echo"><span>echo</span></a> <span>‘ERROR: There was a problem with the query.’</span>;<br />
        <span>}</span><br />
    <span>}</span> <span>else</span> <span>{</span><br />
        <span>// Dont do anything.</span><br />
    <span>}</span> <span>// There is a queryString.</span><br />
<span>}</span> <span>else</span> <span>{</span><br />
    <a onclick="javascript:urchinTracker('/outbound/www.php.net/echo?ref=http_//www.ajaxrain.com/library?sort=_page=18_limit=30');" href="http://www.php.net/echo"><span>echo</span></a> <span>‘There should be no direct access to this script!’</span>;<br />
<span>}</span><br />
<span>}</span></p>
<p><span>?></span></div>
<p><strong>PHP Explaination</strong></p>
<p>Im not going to go into much detail here because there are loads of comments in the code above.</p>
<p>Basically, it takes the  ‘QueryString’ and does a query with a wildcard at the en.</p>
<p>This means that in this case of the code each key-press generates a new query, this is MySQL intensive if its always being done, but short of making it exceedingly complex it is fine for small scale applications.</p>
<p>The PHP code is the part you have to change to work in your system, and all the it is updating the ‘$query’ to your database, you should be able to see where you put the table column name in etc…</p>
<p><strong>CSS Styling &#8211; im using CSS3, YEA BABY! much easier although limits the functionality to Firefox and Safari.</strong></p>
<div>
<style type="<span"><!--
"text/css"><span>.suggestionsBox</span> <span>{</span>
    <span>position</span>: <span>relative</span>;
    <span>left</span>: <span>30px</span>;
    <span>margin</span>: <span>10px</span> <span>0px</span> <span>0px</span> <span>0px</span>;
    <span>width</span>: <span>200px</span>;
    <span>background-color</span>: <span>#<span>212427</span></span>;
    -moz-border-radius: <span>7px</span>;
    -webkit-border-radius: <span>7px</span>;
    <span>border</span>: <span>2px</span> <span>solid</span> <span>#<span>000</span></span>;
    <span>color</span>: <span>#fff</span>;
<span>}</span></p>
<p><span>.suggestionList</span> <span>{</span>
    <span>margin</span>: <span>0px</span>;
    <span>padding</span>: <span>0px</span>;
<span>}</span></p>
<p><span>.suggestionList</span> li <span>{</span>
    <span>margin</span>: <span>0px</span> <span>0px</span> <span>3px</span> <span>0px</span>;
    <span>padding</span>: <span>3px</span>;
    <span>cursor</span>: <span>pointer</span>;
<span>}</span></p>
<p><span>.suggestionList</span> li<span>:hover</span> <span>{</span>
    <span>background-color</span>: <span>#659CD8</span>;
<span>}</span>
--></style>
</div>
<p>The CSS is pretty standard, nothing out of the ordinary.</p>
<p><strong>Main HTML</strong></p>
<div>
<div>
<div>
<p>      Type your county (for the demo):</p>
<input id="inputString" onkeyup="lookup(this.value);" size="30" type="text" /></div>
<div id="suggestions" style="display: none;">
<p>      <img style="position: relative; top: -12px; left: 30px;" src="upArrow.png" alt="upArrow" /></div>
</div>
</div>
<p>That is the main bit of HTML, really all you need to run this is an input text box with the ‘onkeyup’ function set to lookup(this.value); Also, i recommend NOT changing the ID of the input box, unless you change it in the Javascript section <img src="http://nodstrum.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p><strong>Screenshots <img src="http://nodstrum.com/wp-includes/images/smilies/icon_wink.gif" alt=";-)" /> </strong></p>
<p>I suppose you want to see some more screen shots…. OK.</p>
<p><img src="http://res.nodstrum.com/autoComplete/screenshots/AutoComplete_2.png" alt="" width="262" height="311" /></p>
<p>And another one!</p>
<p><img src="http://res.nodstrum.com/autoComplete/screenshots/AutoComplete_3.png" alt="" width="252" height="214" /></p>
<p>Demo: <a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=25">Auto Complete Demo</a></p>
<p>Download: <a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=26">AutoComplete Source ZIP</a></p>
<p>Source: <a href="http://nodstrum.com/2007/09/19/autocompleter/" target="_blank">http://nodstrum.com/2007/09/19/autocompleter/</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fajax-autocomplete-script-using-jquery%2F', 'Ajax+Autocomplete+Script+using+jQuery')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fajax-autocomplete-script-using-jquery%2F', title: '+Ajax+Autocomplete+Script+using+jQuery+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/jquery-autocomplete-mod/' rel='bookmark' title='Permanent Link: jQuery Autocomplete Mod'>jQuery Autocomplete Mod</a> <small>This is a modification of Dylan Verheul&#8217;s jQuery Autcomplete plug-in....</small></li>
<li><a href='http://www.ajaxupdates.com/autocomplete-textboxlist-script/' rel='bookmark' title='Permanent Link: Autocomplete TextboxList Script'>Autocomplete TextboxList Script</a> <small>Extend TextboxList to add closing functionality via a link added...</small></li>
<li><a href='http://www.ajaxupdates.com/autocomplete-widget/' rel='bookmark' title='Permanent Link: Autocomplete Widget'>Autocomplete Widget</a> <small>The tool is designed to bring good feelings for both...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/ajax-autocomplete-script-using-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jFeed &#8211; jQuery Feed Parser</title>
		<link>http://www.ajaxupdates.com/jfeed-jquery-feed-parser/</link>
		<comments>http://www.ajaxupdates.com/jfeed-jquery-feed-parser/#comments</comments>
		<pubDate>Fri, 08 May 2009 16:08:10 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Feeds]]></category>
		<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[Atom]]></category>
		<category><![CDATA[Com Blog]]></category>
		<category><![CDATA[Com Dev]]></category>
		<category><![CDATA[Feed Link]]></category>
		<category><![CDATA[Feed Type]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Index Php]]></category>
		<category><![CDATA[Item Description]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery Ajax]]></category>
		<category><![CDATA[Options]]></category>
		<category><![CDATA[Success]]></category>
		<category><![CDATA[Tar Gz]]></category>
		<category><![CDATA[Url]]></category>
		<category><![CDATA[Xml]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=1589</guid>
		<description><![CDATA[A lightweight JavaScript feed parser based on jQuery and couldn&#8217;t find one, so I wrote jFeed yesterday.
Thanks to jQuery, it was quite easy and fun to do.
jFeed currently parses RSS 0.91, 0.92, 1.0, 2.0 and Atom 1.0 feeds.
Usage:
jQuery.getFeed(options);

   options:
   * url: the feed URL (required).
   * data: data to [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/pulling-your-flickr-feed-with-jquery/' rel='bookmark' title='Permanent Link: Pulling Your Flickr Feed with jQuery'>Pulling Your Flickr Feed with jQuery</a> <small>Feeds are the easiest way to view updated content, whether...</small></li>
<li><a href='http://www.ajaxupdates.com/jquery-google-feed-plugin/' rel='bookmark' title='Permanent Link: JQuery Google Feed Plugin'>JQuery Google Feed Plugin</a> <small> Google announced the Google AJAX Feed API. This is...</small></li>
<li><a href='http://www.ajaxupdates.com/animated-ajax-delete-jquery/' rel='bookmark' title='Permanent Link: Animated Ajax Delete : jQuery'>Animated Ajax Delete : jQuery</a> <small>I’m a huge fan of WordPress’ method of individual article...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A lightweight JavaScript feed parser based on jQuery and couldn&#8217;t find one, so I wrote jFeed yesterday.<br />
Thanks to jQuery, it was quite easy and fun to do.</p>
<p>jFeed currently parses RSS 0.91, 0.92, 1.0, 2.0 and Atom 1.0 feeds.</p>
<p><strong>Usage:</strong></p>
<pre class="brush: php">jQuery.getFeed(options);
</pre>
<p><strong>   options:</strong></p>
<p>   * url: the feed URL (required).<br />
   * data: data to be sent to the server. See jQuery.ajax data property.<br />
   * success: a function to be called if the request succeeds.<br />
     The function gets passed one argument: the JFeed object.</p>
<p><strong>   Example:</strong></p>
<pre class="brush: php">
   jQuery.getFeed({
       url: &#039;rss.xml&#039;,
       success: function(feed) {
           alert(feed.title);
       }
   });</pre>
<p><strong>JFeed properties:</strong></p>
<p>   * feed.type<br />
   * feed.version<br />
   * feed.title<br />
   * feed.link<br />
   * feed.description<br />
   * feed.language<br />
   * feed.updated<br />
   * feed.items: an array of JFeedItem</p>
<p><strong>JFeedItem properties:</strong></p>
<p>   * item.title<br />
   * item.link<br />
   * item.description<br />
   * item.updated<br />
   * item.id</p>
<p align="left"><strong>Download: <a href="http://www.hovinne.com/dev/jquery/jfeed/jquery.jfeed.tar.gz"> http://www.hovinne.com/dev/jquery/jfeed/jquery.jfeed.tar.gz</a></strong></p>
<p align="left"><em>Source: <a href="http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin"> http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin</a></em></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fjfeed-jquery-feed-parser%2F', 'jFeed+%26%238211%3B+jQuery+Feed+Parser')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fjfeed-jquery-feed-parser%2F', title: '+jFeed+%26%238211%3B+jQuery+Feed+Parser+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/pulling-your-flickr-feed-with-jquery/' rel='bookmark' title='Permanent Link: Pulling Your Flickr Feed with jQuery'>Pulling Your Flickr Feed with jQuery</a> <small>Feeds are the easiest way to view updated content, whether...</small></li>
<li><a href='http://www.ajaxupdates.com/jquery-google-feed-plugin/' rel='bookmark' title='Permanent Link: JQuery Google Feed Plugin'>JQuery Google Feed Plugin</a> <small> Google announced the Google AJAX Feed API. This is...</small></li>
<li><a href='http://www.ajaxupdates.com/animated-ajax-delete-jquery/' rel='bookmark' title='Permanent Link: Animated Ajax Delete : jQuery'>Animated Ajax Delete : jQuery</a> <small>I’m a huge fan of WordPress’ method of individual article...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/jfeed-jquery-feed-parser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->