<?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 Plus - Tips and tutorial for Ajax</title>
	<atom:link href="http://www.ajaxplus.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxplus.net</link>
	<description>All you need to know about Ajax</description>
	<lastBuildDate>Wed, 03 Feb 2010 12:17:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ajax tip: Use JSON format</title>
		<link>http://www.ajaxplus.net/2010/02/03/ajax-tip-use-json-format/</link>
		<comments>http://www.ajaxplus.net/2010/02/03/ajax-tip-use-json-format/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 12:17:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax Tools]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[JSON]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/?p=17</guid>
		<description><![CDATA[  Hi all,
The benefit of JSON on other formats is that it is recognized natively by JavaScript. This is huge advantage because you don&#8217;t need to write a code for parsing an XML document to extract the data and get it throught the net. So it saves time and it is faster.
The JSON format is [...] ]]></description>
			<content:encoded><![CDATA[<p> Hi all,</p>
<p>The benefit of <a class="zem_slink" title="JSON" rel="homepage" href="http://json.org">JSON</a> on other formats is that it is recognized natively by JavaScript. This is huge advantage because you don&#8217;t need to write a code for parsing an XML document to extract the data and get it throught the net. So it saves time and it is faster.</p>
<p>The JSON format is very simple:</p>
<pre>{
  "menu": "File",
  "commands": [
      {
          "title": "New",
          "action":"CreateDoc"
      },
      {
          "title": "Open",
          "action": "OpenDoc"
      },
      {
          "title": "Close",
          "action": "CloseDoc"
      }
   ]
}

and you use the eval() JavaScript function to  parse it.
<pre>var req = new XMLHttpRequest();
req.open("GET", "file.json", true);
req.onreadystatechange = myCode;   // the handler
req.send(null);</pre>
<p><strong>The JavaScript handler:</strong></p>
<pre>function myCode()
{
   if (req.readyState == 4)
   {
        var doc = eval('(' + req.responseText + ')');
   }
}
</pre>
</pre>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=e58d1985-08a8-4a14-a289-0d6958b92cf5" alt="" /><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2010/02/03/ajax-tip-use-json-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online booking system</title>
		<link>http://www.ajaxplus.net/2010/02/02/online-booking-system/</link>
		<comments>http://www.ajaxplus.net/2010/02/02/online-booking-system/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 14:35:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax Tools]]></category>
		<category><![CDATA[online booking system]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/?p=14</guid>
		<description><![CDATA[  Hello all,
If you need an online booking system to your website, you can use S-Development ltd. They can quickly add it to your site according to your needs.
This is good solution for dental practices, hair dressers and anyone who needs appointment booking.
And it is not expensive either! 
 ]]></description>
			<content:encoded><![CDATA[<p> Hello all,</p>
<p>If you need an <a href="http://www.s-development.net/online-booking-system" target="_self">online booking system</a> to your website, you can use S-Development ltd. They can quickly add it to your site according to your needs.</p>
<p>This is good solution for dental practices, hair dressers and anyone who needs appointment booking.</p>
<p>And it is not expensive either! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2010/02/02/online-booking-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript split numbers from string</title>
		<link>http://www.ajaxplus.net/2010/02/01/javascript-split-numbers-from-string/</link>
		<comments>http://www.ajaxplus.net/2010/02/01/javascript-split-numbers-from-string/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 13:51:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Javascript string]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/2010/02/01/javascript-split-numbers-from-string/</guid>
		<description><![CDATA[  Hi,
From time to time you have a string that contains numbers and letters and you need to split them.
This is very easy to do using Javascript.
Lets say you have this  string:
var string  = &#8220;due_date47&#8243;;
to create to vars that one will have &#8220;due_date&#8221; as value and the other &#8220;47&#8243; do this:
&#60;script type="text/javascript"&#62;var field = "due_date37";

var [...] ]]></description>
			<content:encoded><![CDATA[<p> Hi,</p>
<p>From time to time you have a string that contains numbers and letters and you need to split them.</p>
<p>This is very easy to do using Javascript.</p>
<p>Lets say you have this  string:</p>
<p>var string  = &#8220;due_date47&#8243;;</p>
<p>to create to vars that one will have &#8220;due_date&#8221; as value and the other &#8220;47&#8243; do this:</p>
<pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 98px; text-align: left">&lt;script type="text/javascript"&gt;var field = "due_date37";

var number=field.match(/\d/g).join('');

var nonnumber=field.match(/[^\d]/g).join('');

&lt;/script&gt;</pre>
<p>Easy! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2010/02/01/javascript-split-numbers-from-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup your database</title>
		<link>http://www.ajaxplus.net/2009/11/24/backup-your-database/</link>
		<comments>http://www.ajaxplus.net/2009/11/24/backup-your-database/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 15:54:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax Tools]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/2009/11/24/backup-your-database/</guid>
		<description><![CDATA[  Hi all,
No matter how good your script is if you don&#8217;t have backups it worth nothing.
I am using Ajax to develop very complicated databases to companies. Sometimes I am scared by the amount of data they store on the db and how important it is. If my clients losing their data then first they [...] ]]></description>
			<content:encoded><![CDATA[<p> Hi all,</p>
<p>No matter how good your script is if you don&#8217;t have backups it worth nothing.</p>
<p>I am using Ajax to develop very complicated databases to companies. Sometimes I am scared by the amount of data they store on the db and how important it is. If my clients losing their data then first they will kill me then they will kill themselves.</p>
<p>That&#8217;s why you need a backup! I would recommend using <a href="http://www.websitesbackup.com" title="Websites backup">Websites backup</a>. This will do the job for you&#8230; </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2009/11/24/backup-your-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change form target using Javascript?</title>
		<link>http://www.ajaxplus.net/2009/01/07/how-to-change-form-target-using-javascript/</link>
		<comments>http://www.ajaxplus.net/2009/01/07/how-to-change-form-target-using-javascript/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 00:09:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/2009/01/07/how-to-change-form-target-using-javascript/</guid>
		<description><![CDATA[  Well sometime you need that. If you have two submit buttons, one you want to open in the same page and the other on a new one.
Just use this:
document.getElementById(form_id).target= &#8220;_blank&#8221;;
Hope it helps! 
 ]]></description>
			<content:encoded><![CDATA[<p> Well sometime you need that. If you have two submit buttons, one you want to open in the same page and the other on a new one.</p>
<p>Just use this:</p>
<p>document.getElementById(form_id).target= &#8220;_blank&#8221;;</p>
<p>Hope it helps! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2009/01/07/how-to-change-form-target-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a blinking effect using Javascript</title>
		<link>http://www.ajaxplus.net/2009/01/02/how-to-create-a-blinking-effect-using-javascript/</link>
		<comments>http://www.ajaxplus.net/2009/01/02/how-to-create-a-blinking-effect-using-javascript/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 13:53:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[blink]]></category>
		<category><![CDATA[javascript function]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/2009/01/02/how-to-create-a-blinking-effect-using-javascript/</guid>
		<description><![CDATA[  Hi all,
Some time when you use Ajax to do an action you want to give the user an 



  
indication that the action took place and everything went well. For example you have a text field that onchange action calls for a Javascript function that takes the value, sends it to PHP file, [...] ]]></description>
			<content:encoded><![CDATA[<p> Hi all,</p>
<p>Some time when you use Ajax to do an action you want to give the user an <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="ProgId" content="Word.Document" /><meta name="Generator" content="Microsoft Word 12" /><meta name="Originator" content="Microsoft Word 12" /></p>
<link href="file:///C:%5CUsers%5Chp%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List" />
<link href="file:///C:%5CUsers%5Chp%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData" />
<link href="file:///C:%5CUsers%5Chp%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping" /><!--[if gte mso 9]><xml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:TrackMoves/>   <w:TrackFormatting/>   <w:PunctuationKerning/>   <w:ValidateAgainstSchemas/>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:DoNotPromoteQF/>   <w:LidThemeOther>EN-US</w:LidThemeOther>   <w:LidThemeAsian>X-NONE</w:LidThemeAsian>   <w:LidThemeComplexScript>HE</w:LidThemeComplexScript>   <w:Compatibility>    <w:BreakWrappedTables/>    <w:SnapToGridInCell/>    <w:WrapTextWithPunct/>    <w:UseAsianBreakRules/>    <w:DontGrowAutofit/>    <w:SplitPgBreakAndParaMark/>    <w:DontVertAlignCellWithSp/>    <w:DontBreakConstrainedForcedTables/>    <w:DontVertAlignInTxbx/>    <w:Word11KerningPairs/>    <w:CachedColBalance/>   </w:Compatibility>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>   <m:mathPr>    <m:mathFont m:val="Cambria Math"/>    <m:brkBin m:val="before"/>    <m:brkBinSub m:val="&#45;-"/>    <m:smallFrac m:val="off"/>    <m:dispDef/>    <m:lMargin m:val="0"/>    <m:rMargin m:val="0"/>    <m:defJc m:val="centerGroup"/>    <m:wrapIndent m:val="1440"/>    <m:intLim m:val="subSup"/>    <m:naryLim m:val="undOvr"/>   </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml>  <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="267">   <w:LsdException Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal"/>   <w:LsdException Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>   <w:LsdException Locked="false" Priority="39" Name="toc 1"/>   <w:LsdException Locked="false" Priority="39" Name="toc 2"/>   <w:LsdException Locked="false" Priority="39" Name="toc 3"/>   <w:LsdException Locked="false" Priority="39" Name="toc 4"/>   <w:LsdException Locked="false" Priority="39" Name="toc 5"/>   <w:LsdException Locked="false" Priority="39" Name="toc 6"/>   <w:LsdException Locked="false" Priority="39" Name="toc 7"/>   <w:LsdException Locked="false" Priority="39" Name="toc 8"/>   <w:LsdException Locked="false" Priority="39" Name="toc 9"/>   <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>   <w:LsdException Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title"/>   <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>   <w:LsdException Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>   <w:LsdException Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong"/>   <w:LsdException Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>   <w:LsdException Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>   <w:LsdException Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>   <w:LsdException Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>   <w:LsdException Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote"/>   <w:LsdException Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>   <w:LsdException Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>   <w:LsdException Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>   <w:LsdException Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>   <w:LsdException Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>   <w:LsdException Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>   <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>   <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>  </w:LatentStyles> </xml><![endif]--><br />
<style> <!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:Arial; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:Arial; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 72.0pt 72.0pt 72.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --> </style>
<p><!--[if gte mso 10]><br />
<style>  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin-top:0cm; 	mso-para-margin-right:0cm; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} </style>
<p> <![endif]--><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif'">indication </span>that the action took place and everything went well. For example you have a text field that onchange action calls for a Javascript function that takes the value, sends it to PHP file, the PHP file gets the value and update the db and sends back to the Javascript function &#8216;Save&#8217; message.</p>
<p>Now you want to display this message, but you also want that it will blink and disappear lets say after 3 seconds. Easy. All you have to do is from the Javascript function that gets the PHP value call to blinky function</p>
<pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 900px; height: 210px; text-align: left">&lt;script type="text/javascript"&gt;
function blinky(it) {
  obj = document.getElementById(it);
  if (obj.style.visibility == "visible")
    {obj.style.visibility = "hidden";}
  else
    {obj.style.visibility = "visible";}
}

blink = setInterval("blinky's1')", 250);
&lt;/script&gt;
&lt;span id="s1"&gt;Save...&lt;/span&gt;</pre>
<p>and don&#8217;t forget to pass the div id as well&#8230;</p>
<p>Hope it helps! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2009/01/02/how-to-create-a-blinking-effect-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax Problem with encoding on ie7</title>
		<link>http://www.ajaxplus.net/2008/12/29/ajax-problem-with-encoding-on-ie7/</link>
		<comments>http://www.ajaxplus.net/2008/12/29/ajax-problem-with-encoding-on-ie7/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 16:18:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax Tools]]></category>
		<category><![CDATA[ajax encoding]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/2008/12/29/ajax-problem-with-encoding-on-ie7/</guid>
		<description><![CDATA[  Hi all,
I think I spent hours to find a solution to this problem:
On IE when you send a var to the php in non Latin chars (like Hebrew and Arabic), the php gets it like ???
today I found someone who found a solution! it is simple and works:
http://www.phpfreaks.com/forums/index.php?topic=211522.0
Hope it helps! 
 ]]></description>
			<content:encoded><![CDATA[<p> Hi all,</p>
<p>I think I spent hours to find a solution to this problem:</p>
<p>On IE when you send a var to the php in non Latin chars (like Hebrew and Arabic), the php gets it like ???</p>
<p>today I found someone who found a solution! it is simple and works:</p>
<p>http://www.phpfreaks.com/forums/index.php?topic=211522.0</p>
<p>Hope it helps! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2008/12/29/ajax-problem-with-encoding-on-ie7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small tip to get the status of checkbox</title>
		<link>http://www.ajaxplus.net/2008/12/20/small-tip-to-get-the-status-of-checkbox/</link>
		<comments>http://www.ajaxplus.net/2008/12/20/small-tip-to-get-the-status-of-checkbox/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 23:32:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Checkbox value]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/2008/12/20/small-tip-to-get-the-status-of-checkbox/</guid>
		<description><![CDATA[  Hi all,
It  took me long time to get it&#8230; I wanted to check if a checkbox was checked or not.
So I used:
var checkbox = document.getElementById(&#38;quot;checkbox_id&#38;quot;).value;
Wrong! Wrong! Wrong!
the right way is:
var checkbox = document.getElementById(&#38;quot;checkbox_id&#38;quot;).checked;
which return true or false. Minor details wasted me lots of time&#8230;
Admin 
 ]]></description>
			<content:encoded><![CDATA[<p> Hi all,</p>
<p>It  took me long time to get it&#8230; I wanted to check if a checkbox was checked or not.<br />
So I used:<br />
var checkbox = document.getElementById(&amp;quot;checkbox_id&amp;quot;).value;</p>
<p><strong>Wrong! Wrong! Wrong!</strong></p>
<p>the right way is:</p>
<p>var checkbox = document.getElementById(&amp;quot;checkbox_id&amp;quot;).checked;</p>
<p>which return true or false. Minor details wasted me lots of time&#8230;</p>
<p>Admin </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2008/12/20/small-tip-to-get-the-status-of-checkbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to submit a form using post and Ajax?</title>
		<link>http://www.ajaxplus.net/2008/03/07/how-to-submit-a-form-using-post-and-ajax/</link>
		<comments>http://www.ajaxplus.net/2008/03/07/how-to-submit-a-form-using-post-and-ajax/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 09:30:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax Tools]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/2008/03/07/how-to-submit-a-form-using-post-and-ajax/</guid>
		<description><![CDATA[  Hi all,
This is a very simple, powerful and useful Ajax code  that lets you submit a form using Ajax and &#8216;post&#8217; method.
lets start with the form.
The most important thing is to give an ID to the form and then call to a Javascript function on submit.  We will have something like:
&#60;form action=&#8221;add_client.php&#8221; method=&#8221;post&#8221; id=&#8221;add_client&#8221;  [...] ]]></description>
			<content:encoded><![CDATA[<p> Hi all,</p>
<p>This is a very simple, powerful and useful Ajax code  that lets you submit a form using Ajax and &#8216;post&#8217; method.</p>
<p>lets start with the form.</p>
<p>The most important thing is to give an ID to the form and then call to a Javascript function on submit.  We will have something like:</p>
<p>&lt;form action=&#8221;add_client.php&#8221; method=&#8221;post&#8221; id=&#8221;add_client&#8221;  name=&#8221;add_client&#8221; onsubmit=&#8221;post_form(&#8216;add_client&#8217;); return false;&#8221;&gt;</p>
<p>&lt;input type=&#8221;text&#8221; name=&#8221;client_name&#8221; id=&#8221;client_name&#8221;&gt;</p>
<p>&lt;input type=&#8221;submit&#8221; value=&#8221;Add&#8221;&gt;</p>
<p>&lt;/form&gt;</p>
<p>So when you submit this form the script calls the post_form function and send the form&#8217;s id (in this case add_client).</p>
<p>Now on the Javascript we will use the zxml library</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;zxml.js&#8221;&gt;&lt;/script&gt;</p>
<p>and we will create the function post_form:</p>
<p>function post_form(form_id){</p>
<p>var oForm = document.getElementById(form_id);<br />
var sBody = getRequestBody(oForm);<br />
var oXmlHttp = zXmlHttp.createRequest();<br />
oXmlHttp.open(&#8220;post&#8221;, oForm.action, true);<br />
oXmlHttp.setRequestHeader(&#8220;Content-Type&#8221;, &#8220;application/x-www-form-urlencoded&#8221;);<br />
oXmlHttp.onreadystatechange = function () {<br />
if (oXmlHttp.readyState == 4) {<br />
if (oXmlHttp.status == 200) {<br />
view(oXmlHttp.responseText,page_name,display_type,div_name,job_id,span_id);<br />
}<br />
else {<br />
view(&#8220;An error occurred: &#8221; + oXmlHttp.statusText);<br />
}<br />
}<br />
};<br />
oXmlHttp.send(sBody);<br />
}<br />
function getRequestBody(oForm) {<br />
var aParams = new Array();<br />
for (var i=0 ; i &lt; oForm.elements.length; i++) {<br />
var sParam = encodeURIComponent(oForm.elements[i].name);<br />
sParam += &#8220;=&#8221;;<br />
if(oForm.elements[i].checked){<br />
sParam += &#8220;1&#8243;;<br />
}<br />
else {<br />
sParam += encodeURIComponent(oForm.elements[i].value);<br />
}<br />
aParams.push(sParam);<br />
}<br />
//alert (aParams);<br />
return aParams.join(&#8220;&amp;&#8221;);<br />
}</p>
<p>}</p>
<p>post_form calls to getRequestBody that gets all the form&#8217;s elements and send it back. Then post_form will submit the form to the action location (add_client.php) in the php file you should create a script that connect to the db gets the new client name from the form and insert it. Then you can generates a confirmation message on the php file (something like: echo &#8220;Client has been added&#8221;;)</p>
<p>Now the post_form gets back the php message and we need to decide what to do with it. Lets create a div where the message will be displayed</p>
<p>&lt;div id=&#8221;messege&#8221;&gt;&lt;/dib&gt;</p>
<p>Now post_form calls to the function view and sends the php&#8217;s messege to it. So function view will looke like:</p>
<p>function view(sText){</p>
<p>var el = document.getElementById(&#8216;message&#8217;);<br />
el.innerHTML = sText;</p>
<p>}</p>
<p>that&#8217;s it&#8230; you submitted a form and got the results on the same page. Easy <img src='http://www.ajaxplus.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2008/03/07/how-to-submit-a-form-using-post-and-ajax/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Javascript element value</title>
		<link>http://www.ajaxplus.net/2008/03/07/javascript-element-value/</link>
		<comments>http://www.ajaxplus.net/2008/03/07/javascript-element-value/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 09:07:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/2008/03/07/javascript-element-value/</guid>
		<description><![CDATA[  Hi all,
For beginners this could be helpful &#8211; How to get the value of each element in your page using Javascript?
Lets say you have &#60;div id=&#8221;newid&#8221;&#62;&#60;/div&#62;
use this:
var element_value = document.getElementById(&#38;quot;newid&#38;quot;).value;
Hope it helps! 
 ]]></description>
			<content:encoded><![CDATA[<p> Hi all,</p>
<p>For beginners this could be helpful &#8211; How to get the value of each element in your page using Javascript?</p>
<p>Lets say you have &lt;div id=&#8221;newid&#8221;&gt;&lt;/div&gt;</p>
<p>use this:</p>
<p>var element_value = document.getElementById(&amp;quot;newid&amp;quot;).value;</p>
<p>Hope it helps! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2008/03/07/javascript-element-value/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
