<?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>Albertech.net &#187; AJAX</title>
	<atom:link href="http://albertech.net/category/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://albertech.net</link>
	<description>Guides and Reviews for WordPress, PHP, MySQL, Apache, CMS Systems, jQuery, and other Technologies</description>
	<lastBuildDate>Fri, 11 May 2012 23:39:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Review: Top 3 jQuery tree plugins</title>
		<link>http://albertech.net/2012/03/review-top-jquery-tree-plugins/</link>
		<comments>http://albertech.net/2012/03/review-top-jquery-tree-plugins/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 22:54:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[tree]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=902</guid>
		<description><![CDATA[<img class="alignnone size-full wp-image-907" title="dynatree_sample" src="http://albertech.net/wp-content/uploads/2012/03/dynatree_sample.png" alt="" width="360" height="204" /><br /><br />As a Content Management System developer, having a good tree plugin is key to organizing files in directories. With a small number of folders, any jQuery tree plugin will suffice. But, I've encountered some limitations with 1000+ folders and Internet Explorer compatibility. 

Dynatree is my current favorite jQuery plugin. The code is maintained with very good browser compatibility (IE 8 works without any problems), excellent documentation, and lots of features. Supports checkboxes, drag and drop, persistence, and HTML/JSON/or Javascript data loads. If you have a large number of folders, it is best to use JSON as the data object since you can use AJAX to dynamically load the lists.  Even without the "lazy load" option, the script runs fast with a single load of the JSON data.]]></description>
		<wfw:commentRss>http://albertech.net/2012/03/review-top-jquery-tree-plugins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix: html parsing error unable to modify the parent container element before the child in IE8</title>
		<link>http://albertech.net/2012/02/fix-for-html-parsing-error-unable-to-modify-the-parent-container-element-before-the-child-in-ie8/</link>
		<comments>http://albertech.net/2012/02/fix-for-html-parsing-error-unable-to-modify-the-parent-container-element-before-the-child-in-ie8/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 23:58:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=866</guid>
		<description><![CDATA[<strong>If you run Internet Explorer 8 and encounter the following error:</strong>
<blockquote>"html parsing error unable to modify the parent container element before the child"</blockquote>
or
<blockquote>"Internet Explorer cannot open the Internet site http://<var>&#60;Web site&#62;</var>.com. Operation aborted."</blockquote>
The error basically means that an element on the page is trying to get modified without being completely loaded. (e.g. deleting or appending to the object). Possible causes are lightbox style or <a href="http://archive.plugins.jquery.com/project/flashmessenger" target="_blank">flash messenger</a> transitions that run the following code:

<code>$("body").append</code>

It appears to be specific to Internet Explorer 8 with the way it parses the DOM object.  Here's a good reference to the problem on MSDN - <a ... ]]></description>
		<wfw:commentRss>http://albertech.net/2012/02/fix-for-html-parsing-error-unable-to-modify-the-parent-container-element-before-the-child-in-ie8/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple jQuery image rollover script</title>
		<link>http://albertech.net/2011/06/simple-jquery-imagerollover-script/</link>
		<comments>http://albertech.net/2011/06/simple-jquery-imagerollover-script/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 21:47:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[image rollover]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=715</guid>
		<description><![CDATA[Here's my simple jQuery image rollover script. I modified it to work with absolute URLs. This works well if you have different servers hosting your image files.


See entire post for the code ;)]]></description>
		<wfw:commentRss>http://albertech.net/2011/06/simple-jquery-imagerollover-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Javascript errors with DivX plugin</title>
		<link>http://albertech.net/2011/05/javascript-errors-with-divx-plugin/</link>
		<comments>http://albertech.net/2011/05/javascript-errors-with-divx-plugin/#comments</comments>
		<pubDate>Mon, 16 May 2011 20:28:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=694</guid>
		<description><![CDATA[There is a known issue with the DivX plugin causing Javascript errors "tagName is empty or not an object". This is due to the plugin interfering with existing Javascript on the page. Javascript elements that doesn't use the tagName element will cause the browser to throw an error that stops any Javascript from running on the page. 

<strong>The only real fix is to uninstall the DivX plugin.</strong>

References:
<a href="http://labs.divx.com/node/16824" target="_blank">http://labs.divx.com/node/16824</a>]]></description>
		<wfw:commentRss>http://albertech.net/2011/05/javascript-errors-with-divx-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jGrowl &#8211; jQuery plugin for displaying messages</title>
		<link>http://albertech.net/2011/04/jgrowl-jquery-plugin-for-displaying-webapp-messages/</link>
		<comments>http://albertech.net/2011/04/jgrowl-jquery-plugin-for-displaying-webapp-messages/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 18:38:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Script Reviews]]></category>
		<category><![CDATA[jGrowl]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=675</guid>
		<description><![CDATA[<img class="alignnone size-full wp-image-676" title="savechanges" src="http://albertech.net/wp-content/uploads/2011/04/savechanges.jpg" alt="" width="399" height="76" />

I recently found a useful jQuery plugin for adding unobtrusive web browser messages for webapps called<strong> <a href="http://stanlemon.net/projects/jgrowl.html" target="_blank">jGrowl</a>.</strong>

It displays a floating div with your custom message for 5-10 seconds on the top of the screen and fades out. There are options to change the duration of the message, set the message as a sticky until it is closed by the user, position options, and animation options. It is useful for showing quick informational messages such as "Saving changes", "Update", and "Delete". Two unique features with this plugin are the "sticky feature" and the ability to stack consecutive messages together. 

I've created a quick tutorial on adding this jQuery plugin to your app.]]></description>
		<wfw:commentRss>http://albertech.net/2011/04/jgrowl-jquery-plugin-for-displaying-webapp-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Script to fix AJAX Access-Control-Origin Errors</title>
		<link>http://albertech.net/2011/02/php-script-fix-ajax-access-control-origin-error/</link>
		<comments>http://albertech.net/2011/02/php-script-fix-ajax-access-control-origin-error/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 01:26:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=618</guid>
		<description><![CDATA[If you have an AJAX application that uses a PHP back-end app on a different server as your web front-end server (e.g. load balancing, cdn's, etc), your PHP script will need to send header variables with the allowed content server name(s).<br /><br />

Web browsers are now following a standard for HTTP Access control to prevent client-side Cross Site scripting attacks.<br /><br />

I tested this with Firefox and it simply blocks the request without any error messages. Google Chrome browser will error out with the following message if the access control origin is not set correctly on your PHP script. (woot!)<br /><br />

"XMLHttpRequest cannot load [PHP URL].. Origin [JAVASCRIPT URL] is not allowed by Access-Control-Allow-Origin."
<br /><br />

For example, if the Javascript is hosted on example.com and your PHP app is on example.org.

Below is the PHP script for fixing this error. [see full message for the solution]]]></description>
		<wfw:commentRss>http://albertech.net/2011/02/php-script-fix-ajax-access-control-origin-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using jQuery for setting focus on an input box</title>
		<link>http://albertech.net/2010/06/using-jquery-for-setting-focus-on-an-input-box/</link>
		<comments>http://albertech.net/2010/06/using-jquery-for-setting-focus-on-an-input-box/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 17:26:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[focus]]></category>
		<category><![CDATA[input box]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=419</guid>
		<description><![CDATA[Setting a focus on an input box is a hassle with so many different browsers out there. Each browser has their own unique tag to set the focus. Rather than using the browser-specific tags for the focus, one can utilize Javascript to provide the functionality for multiple browsers. 

jQuery is a great alternative to adding the focus since its simply a matter of adding a few lines of code to your page. It will work on multiple browsers, whether it be Internet Explorer, Firefox, Chrome, or Safari.]]></description>
		<wfw:commentRss>http://albertech.net/2010/06/using-jquery-for-setting-focus-on-an-input-box/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Developing pages within a Cisco WebVPN environment</title>
		<link>http://albertech.net/2009/09/webvpn-jquery/</link>
		<comments>http://albertech.net/2009/09/webvpn-jquery/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 17:42:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[webvpn]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=267</guid>
		<description><![CDATA[When coding your pages with Javascript/AJAX/CSS, one thing to look out for is the compatibility with your organization's remote access device. One of the devices I have to consider is the Cisco WebVPN product. It has compatibility issues with things such as the @charset "UTF-8"; and @import command in CSS files. By default jQuery doesn't work with WebVPN. In this post, I have a fix for making jQuery work with WebVPN.]]></description>
		<wfw:commentRss>http://albertech.net/2009/09/webvpn-jquery/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Internet Explorer cache and AJAX</title>
		<link>http://albertech.net/2009/02/internet-explorer-cache-and-ajax/</link>
		<comments>http://albertech.net/2009/02/internet-explorer-cache-and-ajax/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 01:38:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=85</guid>
		<description><![CDATA[<strong>The cache in Internet Explorer is not very AJAX friendly for GET/POST commands</strong>. You must put in a constantly changing variable in the URL such as date with seconds in Internet Explorer. I noticed this when the refresh of my GET command would only work once in my <strong>window.setInterval</strong>(.. , .. ) function.  However, in Mozilla and Safari, my function was working perfect.

The solution to this is to append the current date and time into the URL of your GET/POST request. <a href="http://weblogs.asp.net/pleloup/archive/2006/06/08/451583.aspx">Special thanks to this post</a>.

<code>...

var requeststring = "http://........."+"&#38;requesttime=" + new Date().getTime();
myHttpObject.open("GET",requeststring,true);

...</code>

 

I previously tried setting the cache to expire on the PHP header ... ]]></description>
		<wfw:commentRss>http://albertech.net/2009/02/internet-explorer-cache-and-ajax/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Review: jQuery dropdown menu</title>
		<link>http://albertech.net/2009/02/review-jquery-dropdown-menu/</link>
		<comments>http://albertech.net/2009/02/review-jquery-dropdown-menu/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 01:00:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[dropdown menu]]></category>
		<category><![CDATA[jdmenu]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=81</guid>
		<description><![CDATA[Over the weekend, I ran across a dropdown script called <a href="http://jdsharp.us/jQuery/plugins/jdMenu/">jdMenu</a> that runs off the <a href="http://jquery.com/">jQuery </a>library. It turned out to work great for me, as long as the level of menus is maxed at 2. I prefer using scripts that use the jQuery library in order to simplify the maintenance of scripts and to speed up development of Ajax scripts.

From my experience, modern dropdown menus should only use &#60;ul&#62;&#60;li&#62; hierarchy tags to make it easy to maintain. As long as the coder knows HTML, they should be able to modify the dropdown menu. I've used dropdown menu ... ]]></description>
		<wfw:commentRss>http://albertech.net/2009/02/review-jquery-dropdown-menu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

