<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[caricare contenuti nidificati jquery]]></title><description><![CDATA[<p dir="auto">Ciao a tutti,<br />
ho una funzione in javascript per far apparire un contenuto a seconda del tasto che io clicco.<br />
cliccando su "primo" mi appare "pulsante per terza" .. cliccando su quest'ultimo nella terza colonna mi dovrebbe apparire un altro contenuto..... perchè non lo fa ?</p>
<pre><code class="language-php">&lt;html&gt; 
&lt;head&gt; 
&lt;title&gt;jQuery test page&lt;/title&gt; 
&lt;script type="text/javascript" src="js/jquery.js"&gt;&lt;/script&gt; 


&lt;script type="text/javascript"&gt; 

$(document).ready(function() { 
$("#changeText").click(function() { 
$("#terzo").html("My text is changed!"); 
}); 


$("#changeText2").click(function() { 
                                 
$("#secondo").html('seconda colonna'); 
}); 



$("#changeText4").click(function() { 
                                 
$("#terzo").html('terza colonna'); 
}); 


$("#changeText3").click(function() { 
$("#secondo").html('&lt;a id="changeText4"&gt;pulsante per terza&lt;/a&gt;'); 

}); 


}); 
&lt;/script&gt; 




&lt;/head&gt; 
&lt;body&gt; 





&lt;div id="menu" style="float:left; width:800px; height:100px;"&gt; 


&lt;div id="primo" style="float:left; width:200px; height:100px;"&gt; 
&lt;a id="changeText3"&gt;primo&lt;/a&gt;&lt;br&gt; 
&lt;a id="changeText2"&gt;secondo&lt;/a&gt;&lt;br&gt; 


&lt;/div&gt; 
&lt;div id="secondo" style="float:left; width:200px; height:100px;"&gt;&lt;/div&gt; 
&lt;div id="terzo" style="float:left; width:200px; height:100px;"&gt; 

&lt;/div&gt; 
&lt;div id="quarto" style="float:left; width:200px; height:100px;"&gt; 

&lt;/div&gt; 






&lt;/div&gt; 



&lt;/body&gt; 
&lt;/html&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/topic/107555/caricare-contenuti-nidificati-jquery</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 18:15:54 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/107555.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Aug 2009 09:28:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to caricare contenuti nidificati jquery on Thu, 06 Aug 2009 13:21:54 GMT]]></title><description><![CDATA[<p dir="auto">Ecco qui ti posso mettere un esempio</p>
<pre><code>pette.it/forum/menu_t.png
</code></pre>
<p dir="auto">È un sito dove ho postato l'immagine.</p>
<p dir="auto">Grazie</p>
]]></description><link>https://dev.connect.gt/post/848721</link><guid isPermaLink="true">https://dev.connect.gt/post/848721</guid><dc:creator><![CDATA[pettedemon]]></dc:creator><pubDate>Thu, 06 Aug 2009 13:21:54 GMT</pubDate></item><item><title><![CDATA[Reply to caricare contenuti nidificati jquery on Tue, 04 Aug 2009 15:36:53 GMT]]></title><description><![CDATA[<p dir="auto">Ciao,<br />
praticamente vorrei fare un menu, a comparsa con i div, se vuoi te lo posso fare in flash per farti vedere cosa intendo.<br />
Clicco su una voce e si carica un div, clicco su un'altra e si carica altro div, naturalmente scompare i div precedentemente caricati....</p>
<p dir="auto">Grazieee!</p>
]]></description><link>https://dev.connect.gt/post/848725</link><guid isPermaLink="true">https://dev.connect.gt/post/848725</guid><dc:creator><![CDATA[pettedemon]]></dc:creator><pubDate>Tue, 04 Aug 2009 15:36:53 GMT</pubDate></item><item><title><![CDATA[Reply to caricare contenuti nidificati jquery on Tue, 04 Aug 2009 15:32:34 GMT]]></title><description><![CDATA[<p dir="auto">Scusa, non so risponderti, perché non mi è ben chiaro cosa vuoi ottenere e come deve funzionare il tutto.</p>
]]></description><link>https://dev.connect.gt/post/848717</link><guid isPermaLink="true">https://dev.connect.gt/post/848717</guid><dc:creator><![CDATA[dotcom]]></dc:creator><pubDate>Tue, 04 Aug 2009 15:32:34 GMT</pubDate></item><item><title><![CDATA[Reply to caricare contenuti nidificati jquery on Mon, 03 Aug 2009 13:16:11 GMT]]></title><description><![CDATA[<p dir="auto">Perfetto,<br />
è quello che volevo!<br />
Se io adesso volessi aggiungere un effetto di fadeIn/show all'apparizione del menu, in più in alucne voci dovrebbero scomparire tutti i div caricati altrimenti rimangono sempre fuori, come posso fare ?<br />
Ho provato ad aggiungere nel codice nell'effetto ma alcuni vanno altri no...</p>
<pre><code class="language-php">&lt;script type="text/javascript"&gt;  

$(document).ready(function() {  
$("#changeText").click(function() {  
$("#terzo").html("My text is changed!");  
});  


$("#changeText2").click(function() {  
                                  
						  
$("#secondo").html('seconda colonna');  
$("#terzo").fadeOut('300'); 

});  



$("#changeText4").click(function() {  
                                  
$("#terzo").html('terza colonna');  
});  


$("#changeText3").click(function() {
						
        $("#secondo").html('&lt;a id="changeText4"&gt;pulsante per terza&lt;/a&gt;');
        $("#changeText4").click(function() {
										  $("#terzo").show('300');
            $("#terzo").html('terza colonna');
        });
    });


});  
&lt;/script&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/post/848723</link><guid isPermaLink="true">https://dev.connect.gt/post/848723</guid><dc:creator><![CDATA[pettedemon]]></dc:creator><pubDate>Mon, 03 Aug 2009 13:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to caricare contenuti nidificati jquery on Mon, 03 Aug 2009 12:41:56 GMT]]></title><description><![CDATA[<p dir="auto">Può darsi perché l'elemento con id="changeText4" non esiste nell'albero DOM finché non si fa click sull'elemento con id="changeText3". Prova a spostare il binding all'evento click per changeText4 all'interno di changeText3.</p>
<pre><code>    $("#changeText3").click(function() {
        $("#secondo").html('&lt;a id="changeText4"&gt;pulsante per terza&lt;/a&gt;');
        $("#changeText4").click(function() {
            $("#terzo").html('terza colonna');
        });
    });
</code></pre>
<p dir="auto">Se ho ben capito cosa vuoi fare...</p>
]]></description><link>https://dev.connect.gt/post/848716</link><guid isPermaLink="true">https://dev.connect.gt/post/848716</guid><dc:creator><![CDATA[dotcom]]></dc:creator><pubDate>Mon, 03 Aug 2009 12:41:56 GMT</pubDate></item></channel></rss>