<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[devshare.de - AJAX Support]]></title>
		<link>http://devshare.de/</link>
		<description><![CDATA[Die neuesten Themen in devshare.de.]]></description>
		<lastBuildDate>Wed, 16 Jul 2008 11:03:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[setStyle]]></title>
			<link>http://devshare.de/topic/41537/setstyle/new/posts/</link>
			<description><![CDATA[<p>Hallo,<br />ich möchte gerne Style Eigenschaften ändern und verwende folgenden Code der Seite 282:</p><p>&lt;html&gt;<br />&nbsp; &nbsp; &lt;head&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;meta http-equiv=&quot;Content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;title&gt;Test01&lt;/title&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;script src=&quot;./lib/prototype.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;script src=&quot;./lib/scriptaculous.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />&nbsp; &nbsp; &lt;/head&gt;<br />&nbsp; &nbsp; &lt;body&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id=&quot;bsp&quot; style=&quot;color:#ff0000;&quot;&gt;Test&lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;#&quot; onclick=&quot;Element.setStyle(&#039;bsp&#039;, {color:&#039;#0000ff&#039;, fontSize:&#039;130px&#039;} );&quot;&gt;setStyle&lt;/a&gt;&lt;br /&gt;<br />&nbsp; &nbsp; &lt;/body&gt;<br />&lt;/html&gt;</p><p>Hier bekomme ich die Fehlermeldung: is not a function</p><p>Also so versucht:</p><p>&lt;html&gt;<br />&nbsp; &nbsp; &lt;head&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;meta http-equiv=&quot;Content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;title&gt;Test01&lt;/title&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;script src=&quot;./lib/prototype.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;script src=&quot;./lib/scriptaculous.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; // &lt;![CDATA[&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; function test() {<br />&nbsp; &nbsp; &nbsp; &nbsp; Element.setStyle(&#039;bsp&#039;, {color=&#039;#0000ff&#039;});<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; // ]]&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/script&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &lt;/head&gt;<br />&nbsp; &nbsp; &lt;body&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id=&quot;bsp&quot; style=&quot;color:#ff0000;&quot;&gt;Test&lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;#&quot; onclick=&quot;test()&quot;&gt;setStyle&lt;/a&gt;&lt;br /&gt;<br />&nbsp; &nbsp; &lt;/body&gt;<br />&lt;/html&gt;</p><p>Dann lautet die Fehlermeldung: missing: after property id</p><p>Was mache ich falsch?<br />Vielen Dank im Voraus<br />Hans-Jürgen</p>]]></description>
			<author><![CDATA[dummy@example.com (zenobic)]]></author>
			<pubDate>Wed, 16 Jul 2008 11:03:33 +0000</pubDate>
			<guid>http://devshare.de/topic/41537/setstyle/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Frage zum Gästebuch]]></title>
			<link>http://devshare.de/topic/41534/frage-zum-gaestebuch/new/posts/</link>
			<description><![CDATA[<p>hallo zusammen<br />Ich habe ein problem.<br />Ich wolltedas gästebuch aus dem Kapitel 6 mal ausprobieren.<br />Also hab ich es auf meinen Webserver geladen und festgestellt das es nicht geht.Mit xampp auf meinem Rechner aber ohne Probleme.<br />Jetzt die frage Liegt das am webserver (benutze Funpic) oder ist das ein schon bekanntes Problem.</p><p>Würde mich über einen schnellst mögliche Antwort freuen.</p><p>Gonsales</p>]]></description>
			<author><![CDATA[dummy@example.com (Gonsales)]]></author>
			<pubDate>Mon, 02 Jun 2008 13:08:00 +0000</pubDate>
			<guid>http://devshare.de/topic/41534/frage-zum-gaestebuch/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[ajaxComplete - Umlaute]]></title>
			<link>http://devshare.de/topic/41521/ajaxcomplete-umlaute/new/posts/</link>
			<description><![CDATA[<p>Bei dem Buchbeispiel &#039;ajaxComplete&#039; ist mir aufgefallen, dass Umlaute (ä, ö, ü) nicht korrekt dargestellt werden. Es bringt auch nichts, wenn ich die Umlaute durch ASCII-Zeichen ersetze, da die Suchergebnisse aus der Datenbank dann nicht angezeigt werden. An welcher Stelle der Libarys &#039;prototype.js&#039;, bzw. &#039;scriptaculus.js&#039; kann ich eine Änderung vornehmen, damit deutschen Sonderzeichen korrekt dargestellt werden.<br />Ich wäre für eine schnelle Hilfe dankbar.<br />Gruß JM</p>]]></description>
			<author><![CDATA[dummy@example.com (jmannheim)]]></author>
			<pubDate>Mon, 07 Apr 2008 07:45:58 +0000</pubDate>
			<guid>http://devshare.de/topic/41521/ajaxcomplete-umlaute/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Prototype mit Insertion.After und IE]]></title>
			<link>http://devshare.de/topic/41384/prototype-mit-insertionafter-und-ie/new/posts/</link>
			<description><![CDATA[<p>Hallo, bin neu hier und habe gleich eine Frage.</p><p>Ich benutze die Insertion.After Funktion von Prototype um ein neues Formularfeld zum Bearbeiten über ein altes zu legen. Der Code sieht wie folgt aus:</p><div class="codebox"><pre><code>function edit(id){
    var obj = $(id);
    Element.hide(obj);
    var textarea =&#039;&lt;div id=&quot;&#039; + id + &#039;_editor&quot; &#039;
        + &#039;style=&quot;font-size:9pt;height:10px&quot;&gt;&lt;nobr&gt;&#039;
        + &#039;&lt;input id=&quot;&#039; + id + &#039;_edit&quot; name=&quot;&#039; + id + &#039;&quot; type=&quot;text&quot; &#039;
        + &#039;value=&quot;&#039; + obj.innerHTML + &#039;&quot;&#039;
        + &#039;style=&quot;font-size:9pt;height:11px&quot; /&gt; &#039;;
    var buttons = &#039;&lt;input id=&quot;&#039; + id + &#039;_save&quot; type=&quot;button&quot; value=&quot;SAVE&quot; /&gt;&#039;
        + &#039; OR &lt;input id=&quot;&#039; + id + &#039;_cancel&quot; type=&quot;button&quot; value=&quot;CANCEL&quot; /&gt;&#039;
        + &#039;&lt;/nobr&gt;&lt;/div&gt;&#039;;
    new Insertion.After(obj, textarea+buttons);
    Event.observe(id+&#039;_save&#039;, &#039;click&#039;, function(){saveChanges(obj)}, false);
    Event.observe(id+&#039;_cancel&#039;, &#039;click&#039;, function(){cleanUp(obj)}, false);
    }</code></pre></div><p>Leider bekomme ich mit dem IE immer die Fehlermeldung &quot;Das Zielelement dieser Operation ist nicht gültig&quot;. Mit Firefox klappt alles.</p><p>Ich habe auch schon den Thread hier durchgelesen: <a href="http://www.devshare.de/viewtopic.php?id=41318">http://www.devshare.de/viewtopic.php?id=41318</a>, hat mir aber leider nicht weitergeholfen.</p><p>Vielen Dank für eure Antworten!</p>]]></description>
			<author><![CDATA[dummy@example.com (j|g)]]></author>
			<pubDate>Sat, 17 Feb 2007 23:23:48 +0000</pubDate>
			<guid>http://devshare.de/topic/41384/prototype-mit-insertionafter-und-ie/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Infos zu 'PUT' ?]]></title>
			<link>http://devshare.de/topic/41409/infos-zu-put/new/posts/</link>
			<description><![CDATA[<p>Hallo.</p><p>Im Buch ist die Anweisung &#039;put&#039; für XMLHTTP-Request nur spärlich erwähnt, eigentlich nur, dass es sie gibt. Natürlich sind in diesem Zusammenhang Sicherheitsbedenken angebracht.</p><p>Gibt es dennoch brauchbare Infos dazu? Ich würde gerne damit mal das eine oder andere probieren.</p><p>Grüße...<br />-Michael-</p>]]></description>
			<author><![CDATA[dummy@example.com (mfederer)]]></author>
			<pubDate>Mon, 05 Feb 2007 12:04:53 +0000</pubDate>
			<guid>http://devshare.de/topic/41409/infos-zu-put/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Kapitel 7.2.1 Drag&Drop Beispiel]]></title>
			<link>http://devshare.de/topic/41383/kapitel-721-dragdrop-beispiel/new/posts/</link>
			<description><![CDATA[<p>Hallo,</p><p>habe gerade das Drag&amp;Drop Beispiel mit der Library script.aculo.us ausprobiert. Leider hab ich es nicht geschaft das sich irgendetwas bewegt. Woran kann das liegen? Die Library hab ich natürlich runtergeladen.<br />Hier mein derzeitiger Code:</p><p>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&quot;&gt;</p><p>&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;<br />&lt;head&gt;<br />&nbsp; &nbsp; &lt;title&gt;script.aculo.us&lt;/title&gt;<br />&nbsp; &nbsp; &lt;script src=&quot;lib/prototype.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />&nbsp; &nbsp; &lt;script src=&quot;src/scriptaculous.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot;&gt;<br />&nbsp; &nbsp; //&lt;![CDATA[<br />&nbsp; &nbsp; onload=function()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; d = new Draggable(<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;bsp&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; change:check,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; handle:innen<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; );<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; var check = function()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; if (parseInt($(&#039;bsp&#039;).style.left) &gt;= 300)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.constraint = &#039;vertical&#039;;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; if (parseInt($(&#039;bsp&#039;).style.top) &gt;= 400)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; d.destroy();<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; //]]&gt;<br />&nbsp; &nbsp; &lt;/script&gt;<br />&lt;/head&gt;<br />&lt;body&gt;<br />&nbsp; &nbsp; &lt;div id=&quot;bsp&quot; style=&quot;position:absolute;color:#ff0000;&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;pre&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; + ------ +<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; |<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; |<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; + ------ &lt;span id=&quot;innen&quot; style=&quot;color:#0000ff;&quot;&gt;+&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/pre&gt;<br />&nbsp; &nbsp; &lt;/div&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;</p><p>Was mache ich falsch?</p><p>vG<br />Doris</p>]]></description>
			<author><![CDATA[dummy@example.com (neerg)]]></author>
			<pubDate>Wed, 15 Nov 2006 13:31:52 +0000</pubDate>
			<guid>http://devshare.de/topic/41383/kapitel-721-dragdrop-beispiel/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Progress Anzeige mit SARISSA]]></title>
			<link>http://devshare.de/topic/41338/progress-anzeige-mit-sarissa/new/posts/</link>
			<description><![CDATA[<p>Hallo</p><p>Ich habe einige Beispiele gesehen, wie man Progress Bars anzeigen kann..<br />mehr oder weniger kompliziert.. Mit einem einfachen element.style.display=&quot;&quot; oder &quot;none&quot; geht da nichts, oder doch?</p><p>Ich benutze das SARISSA Framework.. Hat jemand eine Idee, wie ich eine Progress bar, oder einfach ein Bild/Layer anzeigen kann, während das XML am laden ist?</p>]]></description>
			<author><![CDATA[dummy@example.com (JuiceTerry)]]></author>
			<pubDate>Mon, 06 Nov 2006 10:13:41 +0000</pubDate>
			<guid>http://devshare.de/topic/41338/progress-anzeige-mit-sarissa/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Prototype oder Object-Literal??!]]></title>
			<link>http://devshare.de/topic/41365/prototype-oder-objectliteral/new/posts/</link>
			<description><![CDATA[<p>Hallo!</p><p>ich versuche gerade herauszulesen welchen vorteil folgende syntax bringt:</p><p>function MyClass() {...}<br />MyClass.prototype = {<br />&nbsp; foo: function() {...}<br />&nbsp; foo2: function() {...}<br />}</p><p>wäre es in diesem fall nicht speicher-sparender auf eine prototype-vererbung zurückzugreifen?</p><p>MyClass.protoype.foo = function() { ... }<br />MyClass.protoype.foo2 = function() { ... }</p><p>welche vorteile bringt die vererbung über das prototype objekt in literal-schreibweise?<br />irgendwie blicke ich gerade nicht ganz durch...</p><p>danke schon mal&nbsp; für eure hilfe.</p><p>lg</p>]]></description>
			<author><![CDATA[dummy@example.com (avid)]]></author>
			<pubDate>Tue, 17 Oct 2006 19:17:06 +0000</pubDate>
			<guid>http://devshare.de/topic/41365/prototype-oder-objectliteral/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA["setAttribute Hack" um auch mit dem IE arbeiten zu können.]]></title>
			<link>http://devshare.de/topic/41361/setattribute-hack-um-auch-mit-dem-ie-arbeiten-zu-koennen/new/posts/</link>
			<description><![CDATA[<p>Hallo ins Forum,</p><p>leider musste ich feststellen, der IE nicht nur beim &quot;hasAttribute&quot;,&nbsp; sondern auch beim &quot;setAttribute&quot; seine Problemchen hat. Mittels remove-, create- und set- bekommt man/frau das aber auch im IE hin.<br />Was im Buch auf Seite 55 unter &quot;createAttribute&quot; steht: &quot;-wenn möglich- darauf verzichten&quot;, muss nun leider doch wieder öfters in den Editor geklopft werden.</p><p>Hier mein Workaround (Hack) zum Testen:<br />-----------------------------------------------------------------------&gt;</p><p>&lt;html&gt;<br />&lt;head&gt;<br />&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=windows-1252&quot;&gt;<br />&lt;title&gt;Umweg für den IE&lt;/title&gt;<br />&lt;script type=&quot;text/javascript&quot;&gt;<br />//&lt;![CDATA[<br />window.onload = function ()<br />&nbsp; {<br />&nbsp; var e00 = document.getElementById(&quot;th_0&quot;);<br />&nbsp; var e01 = e00.firstChild.nodeValue;<br />&nbsp; alert(&quot;Zelle th_0:&nbsp; &nbsp;Orginalwert= &quot;+e01);<br />&nbsp; e00.firstChild.nodeValue = &quot;Head Line dieser Tabelle&quot;; <br />&nbsp; var e01 = e00.firstChild.nodeValue;<br />&nbsp; alert(&quot;Zelle th_0:&nbsp; &nbsp;Neuer Wert= &quot;+e01);<br />&nbsp; var e02 = (e00.getAttribute(&quot;colspan&quot;)!=null) ? true : false;<br />&nbsp; alert(&quot;Das Element th_0 hat ein Attribute ColSpan = &quot;+ e02);<br />&nbsp; alert(&quot;Orginal Attribute ColSpan = &quot;+e00.getAttribute(&quot;colspan&quot;));<br />&nbsp; alert(&quot;Ändere ColSpan mittels setAttribute auf 3&quot;);<br />&nbsp; e00.setAttribute(&quot;ColSpan&quot;, &quot;3&quot;);&nbsp; &nbsp;//Funktioniert nur mit einem GEKO Browser<br />&nbsp; alert(&quot;Modifizieres Attribut ColSpan (sollte 3 sein) = &quot;+e00.getAttribute(&quot;colspan&quot;));<br />&nbsp; //Versuch mittels remove, create und set funktioniert mit Geko- und mit dem IE-Browser<br />&nbsp; alert(&quot;Ändere ColSpan mittels remove-, create- und setAttribute auf 5&quot;);<br />&nbsp; e00.removeAttribute(&quot;colspan&quot;);<br />&nbsp; var v = document.createAttribute(&quot;colspan&quot;);<br />&nbsp; v.nodeValue = &quot;5&quot;;<br />&nbsp; e00.setAttributeNode(v);<br />&nbsp; alert(&quot;Modifizieres Attribut ColSpan (sollte 5 sein) = &quot;+e00.getAttribute(&quot;colspan&quot;));<br />&nbsp; }<br />//]]&gt;<br />&lt;/script&gt;<br />&lt;/head&gt;<br />&lt;body&gt;</p><p>&lt;table id=&quot;table_1&quot; width=&quot;80%&quot; border=&quot;5&quot; bgcolor=&quot;F30FA5&quot;&gt;<br />&nbsp; &lt;tr id=&quot;tr_1&quot; lang=&quot;en&quot;&gt;<br />&nbsp; &nbsp; &lt;th id=&quot;th_0&quot; colspan=&quot;1&quot; title=&quot;Meine Zeile&quot; align=&quot;center&quot;&gt;Überschrift&lt;/th&gt;<br />&nbsp; &lt;/tr&gt;<br />&nbsp; &lt;tr id=&quot;tr_2&quot; lang=&quot;de&quot;&gt;<br />&nbsp; &nbsp; &lt;td id=&quot;td_0_0&quot;&nbsp; bgcolor=#00FF00 align=&quot;center&quot;&gt;Spalte 0&lt;/td&gt;<br />&nbsp; &nbsp; &lt;td id=&quot;td_0_1&quot;&nbsp; bgcolor=#0FFF0F align=&quot;center&quot;&gt;Spalte 1&lt;/td&gt;<br />&nbsp; &nbsp; &lt;td id=&quot;td_0_2&quot;&nbsp; bgcolor=#0FFF0F align=&quot;center&quot;&gt;Spalte 2&lt;/td&gt;<br />&nbsp; &nbsp; &lt;td id=&quot;td_0_3&quot;&nbsp; bgcolor=#0FFF0F align=&quot;center&quot;&gt;Spalte 3&lt;/td&gt;<br />&nbsp; &nbsp; &lt;td id=&quot;td_0_4&quot;&nbsp; bgcolor=#0FFF0F align=&quot;center&quot;&gt;Spalte 4&lt;/td&gt;<br />&nbsp; &lt;/tr&gt;<br />&lt;/table&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;</p><p>----------------------------------------------------------------------------</p><p>Wenn jemand eine andere Lösung kennt, bitte hier posten.</p><p>MfG<br />WolliK</p>]]></description>
			<author><![CDATA[dummy@example.com (wollik)]]></author>
			<pubDate>Mon, 09 Oct 2006 06:11:46 +0000</pubDate>
			<guid>http://devshare.de/topic/41361/setattribute-hack-um-auch-mit-dem-ie-arbeiten-zu-koennen/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Kein Download für Quelltexte?]]></title>
			<link>http://devshare.de/topic/41356/kein-download-fuer-quelltexte/new/posts/</link>
			<description><![CDATA[<p>Hallo,<br />ich habe die E-Book-Version des Buches von Ciando gekauft &amp; bin damit lt. Einleitung für den Quellcode der Beispiele auf die URL <a href="http://www.ajax-scripting.de">http://www.ajax-scripting.de</a> verwiesen. Dort finde ich nur ein Baustellenschild. Auf den Verlagsseiten habe ich auch nichts gefunden. Wie komme ich weiter?<br />vG,<br />Stefan</p>]]></description>
			<author><![CDATA[dummy@example.com (terje)]]></author>
			<pubDate>Sun, 01 Oct 2006 19:42:07 +0000</pubDate>
			<guid>http://devshare.de/topic/41356/kein-download-fuer-quelltexte/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Request in der gleichen Funktion wo man den Ajax.Request ausführt...]]></title>
			<link>http://devshare.de/topic/41340/request-in-der-gleichen-funktion-wo-man-den-ajaxrequest-ausfuehrt/new/posts/</link>
			<description><![CDATA[<p>Hallo,<br />ist es irgendwie möglich in der Funktion wo man den Ajax.Request aufruft ebenfalls dort das Request Objekt zu bekommen und nicht zwingend dafür eine neue Funktion die aufgerufen wird zu erstellen?</p><p>mfg<br />Günni</p>]]></description>
			<author><![CDATA[dummy@example.com (terje)]]></author>
			<pubDate>Wed, 27 Sep 2006 23:02:09 +0000</pubDate>
			<guid>http://devshare.de/topic/41340/request-in-der-gleichen-funktion-wo-man-den-ajaxrequest-ausfuehrt/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Ajax innerhalb von Klassen]]></title>
			<link>http://devshare.de/topic/41319/ajax-innerhalb-von-klassen/new/posts/</link>
			<description><![CDATA[<p>Hallo!</p><p>ich zerbreche mir seit einiger Zeit den Kopf, wie es zu schaffen wäre, innerhalb einer Klasse mithilfe von Ajax (prototype.js) die Objektvariablen zu verändern...</p><p>/* constructor */<br />function MyClass() {...} // Constructor</p><p>/* request&nbsp; */<br />MyClass.prototype.request = function () {<br />&nbsp; var options = {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onSuccess:this.processRequest;}};<br />&nbsp; this.ajax = new Ajax(&quot;index.php&quot;, options);<br />}</p><p>/* response */<br />MyClass.prototype.processRequest(xhr) {<br />&nbsp; &nbsp;var xml = xhr.responseXML;<br />&nbsp; &nbsp;var foo = xml.getElementsByTagName(&quot;foo&quot;)[0].firstChild.nodeValue;<br />&nbsp; &nbsp;var newElement = document.createElement(&quot;div&quot;);<br />&nbsp; &nbsp;...</p><p>&nbsp; &nbsp;this.classVar.appendChild(newElement);<br />}</p><p>Dieses Beispiel funktioniert leider nicht...<br />&nbsp; processRequest wird zwar aufgerufen bekommt auch das xhr-objekt,<br />&nbsp; jedoch ist this.classVar nicht bekannt</p><p>Der Hintergedanke für die Kapselung ist der, um bspw. eine Funktionalität mehrfach auf einer Seite abbilden zu können - zb: mehrere Fotoslider auf einer Seite, welche content mithilfe von Ajax liefern...</p><p>hat jemand eine Idee/Lösung?</p>]]></description>
			<author><![CDATA[dummy@example.com (avid)]]></author>
			<pubDate>Mon, 21 Aug 2006 08:43:58 +0000</pubDate>
			<guid>http://devshare.de/topic/41319/ajax-innerhalb-von-klassen/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[E4X]]></title>
			<link>http://devshare.de/topic/41336/e4x/new/posts/</link>
			<description><![CDATA[<p>Hallo.</p><p>Ich war fasziniert vom Kapitel &quot;5.5 Vorschau auf E4X&quot; und wollte es sogleich in die Praxis umsetzten. Doch leider ging das Laden einer XML Datei schief! Im Text steht &quot;[..] Mit E4X können Sie XML-Daten über eine eingelesene Datei - wie in diesem Kapitel bereit gezeigt - [..] bearbeiten&quot;. Nun, da nehme ich an, dass mit dem Datei-Einlesen folgendes gemeint ist:<br /></p><div class="codebox"><pre><code>xml = document.implementation.createDocument(&quot;&quot;,&quot;&quot;,null);
xml.async = false;
xml.load(&quot;datei.xml&quot;);</code></pre></div><p>Danach wäre das XML-Objekt an der Reihe:<br /></p><div class="codebox"><pre><code>var e4x = new XML(xml);</code></pre></div><p>Jedoch bekomme ich die Fehlermeldung:<br /></p><div class="quotebox"><cite>JavaScript Konsole schrieb:</cite><blockquote><p>can&#039;t convert new XML(xml) to XML</p></blockquote></div><p>Kann mir da jemand weiterhelfen?</p>]]></description>
			<author><![CDATA[dummy@example.com (timur)]]></author>
			<pubDate>Sun, 20 Aug 2006 14:03:01 +0000</pubDate>
			<guid>http://devshare.de/topic/41336/e4x/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Anfängerfrage Doctype]]></title>
			<link>http://devshare.de/topic/41313/anfaengerfrage-doctype/new/posts/</link>
			<description><![CDATA[<p>Hallo!</p><p>Also irgendwie scheitere ich schon an den ersten Sachen des Buches. So z.B. auf Seite 29 an der Doctype Definition. Wenn ich diese genauso abtippe, also ...</p><p>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;<br />&nbsp; &nbsp;&quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&quot;<br />&nbsp; &nbsp;[<br />&nbsp; &nbsp; &nbsp; &lt;!ATTLIST a notiz CDATA #IMPLIED&gt;<br />&nbsp; &nbsp;]&gt;</p><p>... , dann habe ich Probleme mit der ATTLIST und deren schließender eckiger Klammer. Und zwar wird diese schließende Klammer anscheinend als Ende der ersten öffnenden eckigen Klammer bei &#039;&lt;!DOCTYPE...&#039;&nbsp; gesehen. Somit wird die ATTLIST gar nicht richtig verarbeitet und im Browser erscheint deshalb nur das &#039;]&gt;&#039; aus der letzten Zeile der Doctype Definition. Dies ist auch beim Beispiel 2.1.4_2 auf der CD zu beobachten. Wie bekommt man nun ne DOCTYPE hin, die 100%ig funktioniert und auch bis zum Ende abgearbeitet wird?</p><p>Gruß<br />Björn</p>]]></description>
			<author><![CDATA[dummy@example.com (j|g)]]></author>
			<pubDate>Sat, 19 Aug 2006 19:22:19 +0000</pubDate>
			<guid>http://devshare.de/topic/41313/anfaengerfrage-doctype/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Errata]]></title>
			<link>http://devshare.de/topic/41331/errata/new/posts/</link>
			<description><![CDATA[<p><strong>Errata-Liste in Arbeit ...</strong></p><p>Bitte entschuldigen Sie die Fehler im Buch! Ganz herzlichen Dank auch an alle Leser, die mich auf einzelne Fehler aufmerksam gemacht haben. </p><p>Falls Ihnen weitere Fehler im Buch auffallen, würde ich mich über einen entsprechenden Hinweis freuen. Senden Sie mir dazu unter info (at) jg-webdesign (dot) de eine Nachricht. Vielen Dank.</p><p><strong><a href="http://www.devshare.de/viewtopic.php?id=41331#p46493">Kapitel 2</a></strong><br /><strong><a href="http://www.devshare.de/viewtopic.php?id=41331#p46494">Kapitel 3</a></strong><br /><strong><a href="http://www.devshare.de/viewtopic.php?id=41331#p46495">Kapitel 4</a></strong><br /><strong><a href="http://www.devshare.de/viewtopic.php?id=41331#p46496">Kapitel 5</a></strong><br /><strong><a href="http://www.devshare.de/viewtopic.php?id=41331#p46497">Kapitel 6</a></strong><br /><strong><a href="http://www.devshare.de/viewtopic.php?id=41331#p46498">Kapitel 7</a></strong><br /><strong><a href="http://www.devshare.de/viewtopic.php?id=41331#p46499">Kapitel 8</a></strong><br /><strong><a href="http://www.devshare.de/viewtopic.php?id=41331#p46500">Kapitel 9</a></strong></p><p>Viel Erfolg und Spaß mit dem Buch<br />Hannes</p>]]></description>
			<author><![CDATA[dummy@example.com (j|g)]]></author>
			<pubDate>Mon, 14 Aug 2006 07:19:12 +0000</pubDate>
			<guid>http://devshare.de/topic/41331/errata/new/posts/</guid>
		</item>
	</channel>
</rss>

