<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: ajax</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>Eliminar Cache del explorador</title>
        <link>http://www.posteet.com/view/1347</link>
        <description>
        <![CDATA[<pre>&lt;?
  header(&quot;Expires: Tue, 01 Jul 2001 06:00:00 GMT&quot;);
  header(&quot;Last-Modified: &quot; . gmdate(&quot;D, d M Y H:i:s&quot;) . &quot; GMT&quot;);
  header(&quot;Cache-Control: no-store, no-cache, must-revalidate&quot;);
  header(&quot;Cache-Control: post-check=0, pre-check=0&quot;, false);
  header(&quot;Pragma: no-cache&quot;);
?&gt;</pre> <a href="http://www.posteet.com/tags/ajax">[ajax]</a>  <a href="http://www.posteet.com/tags/cache">[cache]</a>  <a href="http://www.posteet.com/tags/php">[php]</a> ]]>        </description>
        <dc:creator>fozter</dc:creator>
        <pubDate>Fri, 31 Oct 2008 22:17:44 +0000</pubDate>

            <category>ajax</category>
            <category>cache</category>
            <category>php</category>
    
    </item>

  
    <item>
        <title>Ajax response handler</title>
        <link>http://www.posteet.com/view/1286</link>
        <description>
        <![CDATA[<pre>function ajaxRequest()
{
	var opt = 's=whatever you want to pass';
	var page = 'ajax_page.php';

	var http = createRequestObject();
	http.onreadystatechange = function()
	{
		if((http.readyState == 4) &amp;&amp; (http.status == 200))
		{
			var text = http.responseText;
		}
	}
	http.open('POST', page, true);
	http.setRequestHeader(&quot;Content-type&quot;, &quot;application/x-www-form-urlencoded&quot;);
	http.setRequestHeader(&quot;Content-length&quot;, opt.length);
	http.setRequestHeader(&quot;Connection&quot;, &quot;close&quot;);
	http.send(opt);
}</pre> <a href="http://www.posteet.com/tags/ajax">[ajax]</a>  <a href="http://www.posteet.com/tags/request">[request]</a>  <a href="http://www.posteet.com/tags/response">[response]</a> ]]>        </description>
        <dc:creator>nox.freak</dc:creator>
        <pubDate>Fri, 26 Sep 2008 18:51:04 +0000</pubDate>

            <category>ajax</category>
            <category>request</category>
            <category>response</category>
    
    </item>

  
    <item>
        <title>Ajax request handler</title>
        <link>http://www.posteet.com/view/1285</link>
        <description>
        <![CDATA[<pre>function createRequestObject(handler)
{
	var xmlHttp;
	try
	{
		// Firefox, Opera 8.0+, Safari
		var xmlHttp = new XMLHttpRequest();
		xmlHttp.onload=handler;
		xmlHttp.onerror=handler;
		return xmlHttp;
	}
	catch (e)
	{
		// Internet Explorer
		try
		{
			xmlHttp=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
			return xmlHttp;
		}
		catch (e)
		{
			try
			{
				xmlHttp=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
				return xmlHttp;
			}
			catch (e)
			{
				alert(&quot;Your browser does not support AJAX!&quot;);
				return false;
			}
		}
	}
}</pre> <a href="http://www.posteet.com/tags/ajax">[ajax]</a>  <a href="http://www.posteet.com/tags/request">[request]</a> ]]>        </description>
        <dc:creator>nox.freak</dc:creator>
        <pubDate>Fri, 26 Sep 2008 18:44:37 +0000</pubDate>

            <category>ajax</category>
            <category>request</category>
    
    </item>

  
    <item>
        <title>Executer du javascript chargé par une requête AJAX</title>
        <link>http://www.posteet.com/view/1207</link>
        <description>
        <![CDATA[<pre>// Le JS dans la div ci-dessous a été inséré par une requete AJAX
// &lt;div id='mydiv'&gt; &lt;script type='text/javascript'&gt; [...] &lt;/script&gt; &lt;/div&gt;

var div = document.getElementById('mydiv');
div.innerHTML = innerHTML;
var x = div.getElementsByTagName(&quot;script&quot;); 
for(var i=0;i&lt;x.length;i++)
{
       eval(x[i].text);
}</pre> <a href="http://www.posteet.com/tags/ajax">[ajax]</a>  <a href="http://www.posteet.com/tags/eval">[eval]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Thu, 21 Aug 2008 19:50:30 +0000</pubDate>

            <category>ajax</category>
            <category>eval</category>
            <category>javascript</category>
    
    </item>

  
    <item>
        <title>Cross-browser example of AJAX/XMLHttpRequest</title>
        <link>http://www.posteet.com/view/1012</link>
        <description>
        <![CDATA[<pre>function ajax(url, vars, callbackFunction) { var request = new XMLHttpRequest(); request.open(&quot;POST&quot;, url, true); request.setRequestHeader(&quot;Content-Type&quot;, &quot;application/x-www-form-urlencoded&quot;); request.onreadystatechange = function() { if (request.readyState == 4 &amp;&amp; request.status == 200) { if (request.responseText) { callbackFunction(request.responseText); } } }; request.send(vars); }</pre> <a href="http://www.posteet.com/tags/ajax">[ajax]</a>  <a href="http://www.posteet.com/tags/xmlhttprequest">[xmlhttprequest]</a> ]]>        </description>
        <dc:creator>fandelost</dc:creator>
        <pubDate>Tue, 17 Jun 2008 13:18:05 +0000</pubDate>

            <category>ajax</category>
            <category>xmlhttprequest</category>
    
    </item>

  
    <item>
        <title>Selenium : Simuler un évènement Javascript depuis Selenium</title>
        <link>http://www.posteet.com/view/785</link>
        <description>
        <![CDATA[<pre>Par exemple, un évènement &quot;onblur()&quot; sur champ &lt;input&gt; :

&lt;tr&gt;
  &lt;td&gt;type&lt;/td&gt;
  &lt;td&gt;nom&lt;/td&gt;
  &lt;td&gt;nom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;fireEvent&lt;/td&gt;
  &lt;td&gt;nom&lt;/td&gt;
  &lt;td&gt;blur&lt;/td&gt;
&lt;/tr&gt;


Pour un évènement &quot;onkeyup()&quot; :

&lt;tr&gt;
  &lt;td&gt;type&lt;/td&gt;
  &lt;td&gt;code_postal&lt;/td&gt;
  &lt;td&gt;75000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;keyUp&lt;/td&gt;
  &lt;td&gt;code_postal&lt;/td&gt;
  &lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;</pre> <a href="http://www.posteet.com/tags/ajax">[ajax]</a>  <a href="http://www.posteet.com/tags/évènement">[évènement]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/selenium">[selenium]</a> ]]>        </description>
        <dc:creator>cyo</dc:creator>
        <pubDate>Fri, 22 Feb 2008 15:19:55 +0000</pubDate>

            <category>ajax</category>
            <category>évènement</category>
            <category>javascript</category>
            <category>selenium</category>
    
    </item>

  
    <item>
        <title>tips ajaxterm</title>
        <link>http://www.posteet.com/view/51</link>
        <description>
        <![CDATA[<pre># tips supplémentaires a l'install d'ajaxterm :
# relancez tous les modules concernant le prxy dans apache
# tuto : http://smhteam.info/wiki/index.linux.php5?wiki=AjaxTerm

#le lancer via :
./ajaxterm.py -d --index=ajaxterm.html</pre> <a href="http://www.posteet.com/tags/ajax">[ajax]</a>  <a href="http://www.posteet.com/tags/ajaxterm">[ajaxterm]</a>  <a href="http://www.posteet.com/tags/https">[https]</a>  <a href="http://www.posteet.com/tags/web">[web]</a> ]]>        </description>
        <dc:creator>neorom</dc:creator>
        <pubDate>Tue, 02 Oct 2007 17:07:33 +0000</pubDate>

            <category>ajax</category>
            <category>ajaxterm</category>
            <category>https</category>
            <category>web</category>
    
    </item>


</channel>
</rss>
