Problem with Jquery and PHP break function
<p>I'm posting simple version of php and Jquery code of the page that I need to create.
As you can see, this example contains PHP break functions, and the name of this page is test.php. </p>

<p>The problem is, when I try to open the first part of this page (case 1) Jquery load function successfully is started and successfully load case 2 in the same DIV the second Jquery code for alert message. But if FireFox and Chrome that alert message it would not show up. Why?</p>

<p>Thx.</p>

<p>The code of the compleate page is:</p>

<pre><code>&lt;?php
include_once '../include/config.inc.php';
include_once '../include/options.inc.php';
include_once '../include/security.inc.php';
include_once '../include/functions.inc.php';
include_once '../templates/config.php';
?&gt;
&lt;script type="text/javascript" src="jquery/jquery-1.3.2.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt; 
$(document).ready(function(){
$("#one").live("click", function(){
$("#xuy").load("test.php?x=2");
});
});
&lt;/script&gt;
&lt;script type="text/javascript"&gt; 
$(document).ready(function() {
$('#test').click(function() {
     alert("test for alert message");
   });
 });
&lt;/script&gt;

&lt;style&gt;
#xuy{ width:770px; height:230px; border:1px solid #999; background-color:#33FF00;}
#one{ border:1px solid #F00; width:555px; background-color:#FFFF00;}
#two{ border:1px solid #000; width:355px; background-color:#CCCCCC;}
#three{ border:1px solid #ccc; width:255px; background-color: #00FFFF;}
&lt;/style&gt;
&lt;?
if (!isset($x)) $x = '';
switch ($x)
{
default:
case 1:
?&gt;
&lt;div id="xuy"&gt;&lt;div id="one"&gt;DIV one&lt;/div&gt;&lt;/div&gt;
&lt;?
break;
case 2:
?&gt;


&lt;div id="two"&gt;DIV two&lt;/div&gt;&lt;br&gt;
&lt;div id="test"&gt;click for Jquery alert&lt;/div&gt;


&lt;?
}
?&gt;
</code></pre>
