print constant php into jQuery
<p>I have a page where I have to print a constant php into jQuery. Now if I print returns me an error: "SyntaxError: missing ; before statement"
Because my text contains space anbd i don't want to cancel that space!
Here is my code (I have tried with serialize and trim before but same error)</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function(){

    $(".menu_an").click(function() {
        var txt = $(this).attr("id");
        var temp=&lt;?php echo titolo_antilope; ?&gt;;
        alert(temp);
        //$('#descrizione').text(&lt;?php echo titolo_antilope ?&gt;);
    });
});
&lt;/script&gt;

&lt;body&gt;

                &lt;div class="animale"&gt;
                    &lt;div class="firstColAni"&gt;
                       &lt;p class="txt_14 menu_an" style="cursor:pointer;" id="antilope"&gt;Antilope&lt;/p&gt;
                       &lt;p class="txt_14 menu_an" style="cursor:pointer;" id="bisonte"&gt;Bisonte&lt;/p&gt;
                    &lt;/div&gt;
                    &lt;div class="secondColAni"&gt;
                       &lt;p class="txt_14 menu_an" style="cursor:pointer;" id="descrizione"&gt;&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
</code></pre>
